| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="de"> |
| <head> |
| <!-- Generated by javadoc (version 1.7.0_03) on Fri Feb 22 10:26:21 CET 2013 --> |
| <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> |
| <title>OdfTableCell (ODFDOM API v0.8.9-incubating - http://incubator.apache.org/odftoolkit/)</title> |
| <meta name="date" content="2013-02-22"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="OdfTableCell (ODFDOM API v0.8.9-incubating - http://incubator.apache.org/odftoolkit/)"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar_top"> |
| <!-- --> |
| </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/OdfTableCell.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTable.html" title="class in org.odftoolkit.odfdom.doc.table"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCellRange.html" title="class in org.odftoolkit.odfdom.doc.table"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/odftoolkit/odfdom/doc/table/OdfTableCell.html" target="_top">Frames</a></li> |
| <li><a href="OdfTableCell.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.odftoolkit.odfdom.doc.table</div> |
| <h2 title="Class OdfTableCell" class="title">Class OdfTableCell</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.odftoolkit.odfdom.doc.table.OdfTableCell</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <div class="block"><strong>Deprecated.</strong> |
| <div class="block"><i>As of release 0.8.8, replaced by <a href="http://incubator.apache.org/odftoolkit/simple/index.html/apidocs/org/odftoolkit/simple/table/Cell.html?is-external=true" title="class or interface in org.odftoolkit.simple.table"><code>Cell</code></a> in Simple API.</i></div> |
| </div> |
| <br> |
| <pre>public class <span class="strong">OdfTableCell</span> |
| extends <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> |
| <div class="block">OdfTableCell represents table cell feature in ODF document. |
| <p> |
| OdfTable provides methods to get/set/modify the cell content and cell properties.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span>Methods</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getBooleanValue()">getBooleanValue</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the cell boolean value as Boolean object.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/odftoolkit/odfdom/type/Color.html" title="class in org.odftoolkit.odfdom.type">Color</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getCellBackgroundColor()">getCellBackgroundColor</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the background color of this cell.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getCellBackgroundColorString()">getCellBackgroundColorString</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the background color string of this cell.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/odftoolkit/odfdom/incubator/doc/style/OdfStyle.html" title="class in org.odftoolkit.odfdom.incubator.doc.style">OdfStyle</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getCellStyleElement()">getCellStyleElement</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../org/odftoolkit/odfdom/incubator/doc/style/OdfStyle.html" title="class in org.odftoolkit.odfdom.incubator.doc.style">OdfStyle</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getCellStyleElementForWrite()">getCellStyleElementForWrite</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getColumnIndex()">getColumnIndex</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the index of the table column which contains this cell.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getCurrencyCode()">getCurrencyCode</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Return the currency code of this cell, for example, "USD", "EUR", "CNY", and etc.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getCurrencySymbol()">getCurrencySymbol</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the symbol of currency.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getCurrencyValue()">getCurrencyValue</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the currency value of this cell as Double object.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getDateValue()">getDateValue</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the cell date value as Calendar.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getDisplayText()">getDisplayText</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the text displayed in this cell.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getDoubleValue()">getDoubleValue</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the double value of this cell as Double object.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getFormatString()">getFormatString</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the format string of the cell.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getFormula()">getFormula</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the formula string of the cell.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getHorizontalAlignment()">getHorizontalAlignment</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Return the horizontal alignment setting of this cell.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static <a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTableCell</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getInstance(org.odftoolkit.odfdom.dom.element.table.TableTableCellElementBase)">getInstance</a></strong>(<a href="../../../../../org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.html" title="class in org.odftoolkit.odfdom.dom.element.table">TableTableCellElementBase</a> cellElement)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the <code>OdfTableCell</code> instance from the <code>TableTableCellElementBase</code> instance.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.html" title="class in org.odftoolkit.odfdom.dom.element.table">TableTableCellElementBase</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getOdfElement()">getOdfElement</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the instance of <code>TableTableCellElementBase</code> which represents this cell.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTableCell</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getOwnerTableCell()">getOwnerTableCell</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the cell that covers this cell.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getPercentageValue()">getPercentageValue</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the cell percentage value as Double object.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getRowIndex()">getRowIndex</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the index of the table row which contains this cell.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getStringValue()">getStringValue</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the cell value as a string.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getStyleName()">getStyleName</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the style name of this cell.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTable.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTable</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getTable()">getTable</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get an instance of table feature which contains this cell.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableColumn.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTableColumn</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getTableColumn()">getTableColumn</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the instance of table column feature which contains this cell.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTableRow</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getTableRow()">getTableRow</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the instance of table row feature which contains this cell.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getTimeValue()">getTimeValue</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the cell value as <a href="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util"><code>java.util.Calendar</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getValueType()">getValueType</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Get the value type of this cell.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#getVerticalAlignment()">getVerticalAlignment</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Return the vertical alignment setting of this cell.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#isTextWrapped()">isTextWrapped</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Return the wrap option of this cell.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#removeContent()">removeContent</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Remove all the content of the cell.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#removeTextContent()">removeTextContent</a></strong>()</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Remove all the text content of cell.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setBooleanValue(java.lang.Boolean)">setBooleanValue</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> value)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Set the cell value as a boolean and set the value type to be boolean.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setCellBackgroundColor(org.odftoolkit.odfdom.type.Color)">setCellBackgroundColor</a></strong>(<a href="../../../../../org/odftoolkit/odfdom/type/Color.html" title="class in org.odftoolkit.odfdom.type">Color</a> cellBackgroundColor)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Set the background color of this cell.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setCellBackgroundColor(java.lang.String)">setCellBackgroundColor</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cellBackgroundColor)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Set the background color of this cell using string.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setCurrencyCode(java.lang.String)">setCurrencyCode</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> currency)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Set the currency code of this cell, for example, "USD", "EUR", "CNY", and etc.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setCurrencyFormat(java.lang.String, java.lang.String)">setCurrencyFormat</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> currencySymbol, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> format)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Set the currency symbol and overall format of a currency cell.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setCurrencyValue(java.lang.Double, java.lang.String)">setCurrencyValue</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a> value, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> currency)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Set the value and currency of the cell, and set the value type as "currency".</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setDateValue(java.util.Calendar)">setDateValue</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</a> date)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Set the cell value as a date, and set the value type to be "date".</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setDisplayText(java.lang.String)">setDisplayText</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> content)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Set the text displayed in this cell.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setDisplayText(java.lang.String, java.lang.String)">setDisplayText</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> content, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> stylename)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Set the text displayed in this cell, with a specified style name.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setDoubleValue(java.lang.Double)">setDoubleValue</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a> value)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Set the cell value as a double and set the value type to be "float".</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setFormatString(java.lang.String)">setFormatString</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> formatStr)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Set the format string of the cell.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setFormula(java.lang.String)">setFormula</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> formula)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Set a formula to the cell.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setHorizontalAlignment(java.lang.String)">setHorizontalAlignment</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> horizontalAlignment)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Set the horizontal alignment setting of this cell.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setPercentageValue(java.lang.Double)">setPercentageValue</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a> value)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Set the cell value as a percentage value and set the value type as percentage too.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setStringValue(java.lang.String)">setStringValue</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> str)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Set the cell value as a string, and set the value type to be string.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setTextWrapped(boolean)">setTextWrapped</a></strong>(boolean isTextWrapped)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Set the wrap option of this cell.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setTimeValue(java.util.Calendar)">setTimeValue</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</a> time)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Set the cell value as a time and set the value type to be "time" too.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setValueType(java.lang.String)">setValueType</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> type)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Set the value type of this cell.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><strong><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setVerticalAlignment(java.lang.String)">setVerticalAlignment</a></strong>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> verticalAlignment)</code> |
| <div class="block"><strong>Deprecated.</strong> </div> |
| <div class="block">Set the vertical alignment setting of this cell.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/6/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://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method_detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="getInstance(org.odftoolkit.odfdom.dom.element.table.TableTableCellElementBase)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getInstance</h4> |
| <pre>public static <a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTableCell</a> getInstance(<a href="../../../../../org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.html" title="class in org.odftoolkit.odfdom.dom.element.table">TableTableCellElementBase</a> cellElement)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the <code>OdfTableCell</code> instance from the <code>TableTableCellElementBase</code> instance. |
| <p> |
| Each <code>TableTableCellElementBase</code> instance has a one-to-one relationship to the a <code>OdfTableCell</code> instance.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>cellElement</code> - the cell element that need to get the corresponding <code>OdfTableCell</code> instance</dd> |
| <dt><span class="strong">Returns:</span></dt><dd>the <code>OdfTableCell</code> instance that represents a specified cell element</dd></dl> |
| </li> |
| </ul> |
| <a name="getHorizontalAlignment()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHorizontalAlignment</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getHorizontalAlignment()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Return the horizontal alignment setting of this cell. |
| <p> |
| The returned value can be "center", "end", "justify", "left", "right", or "start". |
| If no horizontal alignment is set, null will be returned.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the horizontal alignment setting.</dd></dl> |
| </li> |
| </ul> |
| <a name="setHorizontalAlignment(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setHorizontalAlignment</h4> |
| <pre>public void setHorizontalAlignment(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> horizontalAlignment)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Set the horizontal alignment setting of this cell. |
| <p> |
| The parameter can be "center", "end", "justify", "left", "right", or "start". |
| Actually, "left" will be interpreted as "start", while "right" will be interpreted as "end". |
| If argument is null, the explicit horizontal alignment setting is removed.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>horizontalAlignment</code> - the horizontal alignment setting.</dd></dl> |
| </li> |
| </ul> |
| <a name="getVerticalAlignment()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getVerticalAlignment</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getVerticalAlignment()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Return the vertical alignment setting of this cell. |
| <p> |
| The returned value can be "auto", "automatic", "baseline", "bottom", "middle", or "top".</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the vertical alignment setting of this cell.</dd></dl> |
| </li> |
| </ul> |
| <a name="setVerticalAlignment(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setVerticalAlignment</h4> |
| <pre>public void setVerticalAlignment(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> verticalAlignment)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Set the vertical alignment setting of this cell. |
| <p> |
| The parameter can be "auto", "automatic", "baseline", "bottom", "middle", or "top". |
| If argument is null, the explicit vertical alignment setting is removed.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>verticalAlignment</code> - the vertical alignment setting.</dd></dl> |
| </li> |
| </ul> |
| <a name="isTextWrapped()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isTextWrapped</h4> |
| <pre>public boolean isTextWrapped()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Return the wrap option of this cell.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>true if the cell content can be wrapped; |
| <p> |
| false if the cell content cannot be wrapped.</dd></dl> |
| </li> |
| </ul> |
| <a name="setTextWrapped(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTextWrapped</h4> |
| <pre>public void setTextWrapped(boolean isTextWrapped)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Set the wrap option of this cell.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>isTextWrapped</code> - whether the cell content can be wrapped or not</dd></dl> |
| </li> |
| </ul> |
| <a name="getRowIndex()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getRowIndex</h4> |
| <pre>public int getRowIndex()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the index of the table row which contains this cell.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the index of the row containing this cell</dd></dl> |
| </li> |
| </ul> |
| <a name="getTable()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTable</h4> |
| <pre>public <a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTable.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTable</a> getTable()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get an instance of table feature which contains this cell.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the table containing this cell</dd></dl> |
| </li> |
| </ul> |
| <a name="getColumnIndex()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getColumnIndex</h4> |
| <pre>public int getColumnIndex()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the index of the table column which contains this cell.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the index of the column containing this cell</dd></dl> |
| </li> |
| </ul> |
| <a name="getTableColumn()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTableColumn</h4> |
| <pre>public <a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableColumn.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTableColumn</a> getTableColumn()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the instance of table column feature which contains this cell.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the instance of table column feature which contains the cell.</dd></dl> |
| </li> |
| </ul> |
| <a name="getTableRow()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTableRow</h4> |
| <pre>public <a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableRow.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTableRow</a> getTableRow()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the instance of table row feature which contains this cell.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the instance of table row feature which contains the cell.</dd></dl> |
| </li> |
| </ul> |
| <a name="getOwnerTableCell()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOwnerTableCell</h4> |
| <pre>public <a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html" title="class in org.odftoolkit.odfdom.doc.table">OdfTableCell</a> getOwnerTableCell()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the cell that covers this cell. |
| <p> |
| If the cell is a covered cell, the owner cell will be returned; |
| if the cell is a real cell , the cell itself will be returned.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the cell that covers the current cell</dd></dl> |
| </li> |
| </ul> |
| <a name="getOdfElement()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getOdfElement</h4> |
| <pre>public <a href="../../../../../org/odftoolkit/odfdom/dom/element/table/TableTableCellElementBase.html" title="class in org.odftoolkit.odfdom.dom.element.table">TableTableCellElementBase</a> getOdfElement()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the instance of <code>TableTableCellElementBase</code> which represents this cell.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the instance of <code>TableTableCellElementBase</code></dd></dl> |
| </li> |
| </ul> |
| <a name="getCurrencyCode()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCurrencyCode</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getCurrencyCode()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Return the currency code of this cell, for example, "USD", "EUR", "CNY", and etc. |
| <p> |
| If the value type is not "currency", an IllegalArgumentException will be thrown.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the currency code |
| <p></dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - an IllegalArgumentException will be thrown if the value type is not "currency".</dd></dl> |
| </li> |
| </ul> |
| <a name="setCurrencyCode(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setCurrencyCode</h4> |
| <pre>public void setCurrencyCode(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> currency)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Set the currency code of this cell, for example, "USD", "EUR", "CNY", and etc.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>currency</code> - the currency code that need to be set.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - If input <code>currency</code> is null, an IllegalArgumentException will be thrown.</dd></dl> |
| </li> |
| </ul> |
| <a name="setValueType(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setValueType</h4> |
| <pre>public void setValueType(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> type)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Set the value type of this cell. |
| The parameter can be "boolean", "currency", "date", "float", "percentage", "string" or "time". |
| <p> |
| If the parameter <code>type</code> is not a valid cell type, an IllegalArgumentException will be thrown.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - the type that need to be set |
| If input type is null, an IllegalArgumentException will be thrown.</dd></dl> |
| </li> |
| </ul> |
| <a name="getValueType()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValueType</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getValueType()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the value type of this cell. |
| The returned value can be "boolean", "currency", "date", "float", "percentage", "string" or "time". |
| If no value type is set, null will be returned.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the type of the cell</dd></dl> |
| </li> |
| </ul> |
| <a name="getDoubleValue()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDoubleValue</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a> getDoubleValue()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the double value of this cell as Double object. |
| <p> |
| Throw IllegalArgumentException if the cell type is not "float".</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the double value of this cell as a Double object. If the cell value is empty, null will be returned. |
| <p> |
| An IllegalArgumentException will be thrown if the cell type is not "float".</dd></dl> |
| </li> |
| </ul> |
| <a name="getCurrencyValue()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCurrencyValue</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a> getCurrencyValue()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the currency value of this cell as Double object. |
| <p> |
| Throw IllegalArgumentException if the cell type is not "currency".</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the currency value of this cell as a Double object. If the cell value is empty, null will be returned.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - an IllegalArgumentException will be thrown if the cell type is not "currency".</dd></dl> |
| </li> |
| </ul> |
| <a name="getCurrencySymbol()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCurrencySymbol</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getCurrencySymbol()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the symbol of currency.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the currency symbol</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - an IllegalArgumentException will be thrown if the value type is not "currency".</dd></dl> |
| </li> |
| </ul> |
| <a name="setCurrencyValue(java.lang.Double, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setCurrencyValue</h4> |
| <pre>public void setCurrencyValue(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a> value, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> currency)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Set the value and currency of the cell, and set the value type as "currency". |
| If<code>value</value> is null, the cell value will be removed.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - the value that will be set</dd><dd><code>currency</code> - the currency that will be set.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - If input currency is null, an IllegalArgumentException will be thrown.</dd></dl> |
| </li> |
| </ul> |
| <a name="getPercentageValue()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPercentageValue</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a> getPercentageValue()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the cell percentage value as Double object. |
| <p> |
| Throw IllegalArgumentException if the cell type is not "percentage".</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the percentage value of this cell as a Double object. If the cell value is empty, null will be returned.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - an IllegalArgumentException will be thrown if the cell type is not "percentage".</dd></dl> |
| </li> |
| </ul> |
| <a name="setPercentageValue(java.lang.Double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPercentageValue</h4> |
| <pre>public void setPercentageValue(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a> value)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Set the cell value as a percentage value and set the value type as percentage too. |
| If<code>value</value> is null, the cell value will be removed.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - the value that will be set</dd></dl> |
| </li> |
| </ul> |
| <a name="getDisplayText()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDisplayText</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getDisplayText()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the text displayed in this cell.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the text displayed in this cell</dd></dl> |
| </li> |
| </ul> |
| <a name="setDisplayText(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDisplayText</h4> |
| <pre>public void setDisplayText(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> content)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Set the text displayed in this cell. |
| <p> |
| Please note the displayed text in ODF viewer might be different with the value set by this method, |
| because the displayed text in ODF viewer is calculated and set by editor.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>content</code> - the displayed text. |
| If content is null, it will display the empty string instead.</dd></dl> |
| </li> |
| </ul> |
| <a name="setDisplayText(java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDisplayText</h4> |
| <pre>public void setDisplayText(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> content, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> stylename)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Set the text displayed in this cell, with a specified style name. |
| <p> |
| Please note the displayed text in ODF viewer might be different with the value set by this method, |
| because the displayed text in ODF viewer are calculated and set by editor.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>content</code> - the displayed text. If content is null, it will display the empty string instead.</dd><dd><code>stylename</code> - the style name. If stylename is null, the content will use the default paragraph style.</dd></dl> |
| </li> |
| </ul> |
| <a name="setDoubleValue(java.lang.Double)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDoubleValue</h4> |
| <pre>public void setDoubleValue(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a> value)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Set the cell value as a double and set the value type to be "float".</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - the double value that will be set. If<code>value</value> is null, the cell value will be removed.</dd></dl> |
| </li> |
| </ul> |
| <a name="getBooleanValue()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getBooleanValue</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> getBooleanValue()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the cell boolean value as Boolean object. |
| <p> |
| Throw IllegalArgumentException if the cell type is not "boolean".</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the Boolean value of cell. If the cell value is empty, null will be returned.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - an IllegalArgumentException will be thrown if the cell type is not "boolean".</dd></dl> |
| </li> |
| </ul> |
| <a name="setBooleanValue(java.lang.Boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setBooleanValue</h4> |
| <pre>public void setBooleanValue(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> value)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Set the cell value as a boolean and set the value type to be boolean. If<code>value</value> is null, the cell value will be removed.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - the value of boolean type</dd></dl> |
| </li> |
| </ul> |
| <a name="getDateValue()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDateValue</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</a> getDateValue()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the cell date value as Calendar. |
| <p> |
| Throw IllegalArgumentException if the cell type is not "date".</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the Calendar value of cell</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - an IllegalArgumentException will be thrown, if the cell type is not "date".</dd></dl> |
| </li> |
| </ul> |
| <a name="setDateValue(java.util.Calendar)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setDateValue</h4> |
| <pre>public void setDateValue(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</a> date)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Set the cell value as a date, and set the value type to be "date".</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>date</code> - the value of <a href="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util"><code>java.util.Calendar</code></a> type.</dd></dl> |
| </li> |
| </ul> |
| <a name="setStringValue(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setStringValue</h4> |
| <pre>public void setStringValue(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> str)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Set the cell value as a string, and set the value type to be string.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the value of string type. |
| If input string is null, an empty string will be set.</dd></dl> |
| </li> |
| </ul> |
| <a name="getStringValue()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStringValue</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getStringValue()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the cell value as a string. |
| <p> |
| If the cell type is not string, the display text will be returned.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the string value of this cell, or the display text</dd></dl> |
| </li> |
| </ul> |
| <a name="getTimeValue()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTimeValue</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</a> getTimeValue()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the cell value as <a href="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util"><code>java.util.Calendar</code></a>. |
| <p> |
| Throw exception if the cell type is not "time".</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the Calendar value of cell</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - an IllegalArgumentException will be thrown if the cell type is not time.</dd></dl> |
| </li> |
| </ul> |
| <a name="setTimeValue(java.util.Calendar)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setTimeValue</h4> |
| <pre>public void setTimeValue(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</a> time)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Set the cell value as a time and set the value type to be "time" too.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>time</code> - the value of <a href="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util"><code>java.util.Calendar</code></a> type.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - If input time is null, an IllegalArgumentException exception will be thrown.</dd></dl> |
| </li> |
| </ul> |
| <a name="getCellBackgroundColor()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCellBackgroundColor</h4> |
| <pre>public <a href="../../../../../org/odftoolkit/odfdom/type/Color.html" title="class in org.odftoolkit.odfdom.type">Color</a> getCellBackgroundColor()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the background color of this cell. |
| <p> |
| If no background color is set, default background color "#FFFFFF" will be returned.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the background color of this cell</dd></dl> |
| </li> |
| </ul> |
| <a name="getCellBackgroundColorString()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCellBackgroundColorString</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getCellBackgroundColorString()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the background color string of this cell. |
| <p> |
| If no background color is set, default background color "#FFFFFF" will be returned.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the background color of this cell</dd></dl> |
| </li> |
| </ul> |
| <a name="setCellBackgroundColor(org.odftoolkit.odfdom.type.Color)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setCellBackgroundColor</h4> |
| <pre>public void setCellBackgroundColor(<a href="../../../../../org/odftoolkit/odfdom/type/Color.html" title="class in org.odftoolkit.odfdom.type">Color</a> cellBackgroundColor)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Set the background color of this cell.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>cellBackgroundColor</code> - the background color that need to set. |
| If <code>cellBackgroundColor</code> is null, default background color <code>Color.WHITE</code> will be set.</dd></dl> |
| </li> |
| </ul> |
| <a name="setCellBackgroundColor(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setCellBackgroundColor</h4> |
| <pre>public void setCellBackgroundColor(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> cellBackgroundColor)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Set the background color of this cell using string. The string must be a valid argument for |
| constructing <a href="../../../../../org/odftoolkit/odfdom/type/Color.html" title="class in org.odftoolkit.odfdom.type"><code><code>org.odftoolkit.odfdom.type.Color</code></code></a>.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>cellBackgroundColor</code> - the background color that need to set. |
| If cellBackgroundColor is null, default background color #FFFFFF will be set.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/odftoolkit/odfdom/type/Color.html" title="class in org.odftoolkit.odfdom.type"><code>Color</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="getStyleName()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStyleName</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getStyleName()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the style name of this cell.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the name of the style</dd></dl> |
| </li> |
| </ul> |
| <a name="setFormula(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFormula</h4> |
| <pre>public void setFormula(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> formula)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Set a formula to the cell. |
| <p> |
| Please note, the parameter <code>formula</code> will not be checked and interpreted; |
| the cell value will not be calculated. |
| It's just simply set as a formula attribute. See </div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>formula</code> - the formula that need to be set.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if formula is null, an IllegalArgumentException will be thrown.</dd></dl> |
| </li> |
| </ul> |
| <a name="getFormula()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFormula</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getFormula()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the formula string of the cell.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the formula representation of the cell |
| <p> |
| If the cell does not contain a formula, null will be returned.</dd></dl> |
| </li> |
| </ul> |
| <a name="setCurrencyFormat(java.lang.String, java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setCurrencyFormat</h4> |
| <pre>public void setCurrencyFormat(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> currencySymbol, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> format)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Set the currency symbol and overall format of a currency cell. |
| <p> |
| Please note the overall format includes the symbol character, for example: $#,##0.00. |
| <p> |
| This function only works for currency.</div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>currencySymbol</code> - the currency symbol</dd><dd><code>format</code> - overall format</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if input currencySymbol or format is null, an IllegalArgumentException will be thrown.</dd></dl> |
| </li> |
| </ul> |
| <a name="setFormatString(java.lang.String)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setFormatString</h4> |
| <pre>public void setFormatString(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> formatStr)</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Set the format string of the cell. |
| <p> |
| This function only works for float, date, time and percentage, otherwise an |
| <a href="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><code>IllegalArgumentException</code></a> will be thrown. |
| <p> |
| For value type float and percentage, the <code>formatStr</code> must follow the encoding |
| rule of <a href="http://download.oracle.com/javase/6/docs/api/java/text/DecimalFormat.html?is-external=true" title="class or interface in java.text"><code><code>java.text.DecimalFormat</code></code></a>. |
| For value type date and time, the <code>formatStr</code> must follow the encoding |
| rule of <a href="http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html?is-external=true" title="class or interface in java.text"><code><code>java.text.SimpleDateFormat</code></code></a>. |
| <p> |
| Refer to <a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCell.html#setCurrencyFormat(java.lang.String, java.lang.String)"><code><code>setCurrencyFormat</code></code></a> to set the format of currency. |
| <p> |
| If the cell value type is not set, the method will try to give it a value type, according |
| to common ordination. The adapt order is: percentage-> time-> date-> float. |
| <blockquote> |
| <table border=0 cellspacing=3 cellpadding=0 summary="Chart showing ValueType, Distinguish Symbol |
| and Distinguish Priority."> |
| <tr bgcolor="#ccccff"> |
| <th align=left>ValueType |
| <th align=left>Distinguish Symbol |
| <th align=left>Distinguish Priority |
| <tr valign=top> |
| <td>percentage |
| <td>% |
| <td>1 |
| <tr valign=top> |
| <td>time |
| <td>H, k, m, s, S |
| <td>2 |
| <tr valign=top> |
| <td>date |
| <td>y, M, w, W, D, d, F, E, K, h |
| <td>3 |
| <tr valign=top> |
| <td>float |
| <td>#, 0 |
| <td>4 |
| </table> |
| </blockquote> |
| The adapt result may be inaccurate, so you'd better set value type before call this method. |
| If adaptive failed, an <a href="http://download.oracle.com/javase/6/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><code>UnsupportedOperationException</code></a> will be thrown. |
| <p></div> |
| <dl><dt><span class="strong">Parameters:</span></dt><dd><code>formatStr</code> - the cell need be formatted as this specified format string.</dd> |
| <dt><span class="strong">Throws:</span></dt> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if <code>formatStr</code> is null or the cell value type is supported.</dd> |
| <dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang">UnsupportedOperationException</a></code> - if the adaptive failed, when cell value type is not set.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="http://download.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html?is-external=true" title="class or interface in java.text"><code>SimpleDateFormat</code></a>, |
| <a href="http://download.oracle.com/javase/6/docs/api/java/text/DecimalFormat.html?is-external=true" title="class or interface in java.text"><code>DecimalFormat</code></a></dd></dl> |
| </li> |
| </ul> |
| <a name="getCellStyleElement()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCellStyleElement</h4> |
| <pre>protected <a href="../../../../../org/odftoolkit/odfdom/incubator/doc/style/OdfStyle.html" title="class in org.odftoolkit.odfdom.incubator.doc.style">OdfStyle</a> getCellStyleElement()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| </li> |
| </ul> |
| <a name="getCellStyleElementForWrite()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCellStyleElementForWrite</h4> |
| <pre>protected <a href="../../../../../org/odftoolkit/odfdom/incubator/doc/style/OdfStyle.html" title="class in org.odftoolkit.odfdom.incubator.doc.style">OdfStyle</a> getCellStyleElementForWrite()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| </li> |
| </ul> |
| <a name="getFormatString()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getFormatString</h4> |
| <pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getFormatString()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Get the format string of the cell.</div> |
| <dl><dt><span class="strong">Returns:</span></dt><dd>the format string of the cell</dd></dl> |
| </li> |
| </ul> |
| <a name="removeTextContent()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeTextContent</h4> |
| <pre>public void removeTextContent()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Remove all the text content of cell.</div> |
| </li> |
| </ul> |
| <a name="removeContent()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>removeContent</h4> |
| <pre>public void removeContent()</pre> |
| <div class="block"><span class="strong">Deprecated.</span> </div> |
| <div class="block">Remove all the content of the cell.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar_bottom"> |
| <!-- --> |
| </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/OdfTableCell.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTable.html" title="class in org.odftoolkit.odfdom.doc.table"><span class="strong">Prev Class</span></a></li> |
| <li><a href="../../../../../org/odftoolkit/odfdom/doc/table/OdfTableCellRange.html" title="class in org.odftoolkit.odfdom.doc.table"><span class="strong">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/odftoolkit/odfdom/doc/table/OdfTableCell.html" target="_top">Frames</a></li> |
| <li><a href="OdfTableCell.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method_summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method_detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip-navbar_bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2008-2013 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> |
| </body> |
| </html> |