|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.acesoft.aceoffix.wordwriter.Cell
public class Cell
Representing the cell object defined in Microsoft Word, Cell class is used to fill data into cells and control behavior of the cells.
You can call the Table.openCellRC method to get the Cell object.
Method Summary | |
---|---|
Border |
getBorder()
Gets a border object. |
Font |
getFont()
Gets a font object. |
ParagraphFormat |
getParagraphFormat()
Gets a paragraph format object. |
Shading |
getShading()
Gets a Shading object. |
void |
mergeTo(int row,
int col)
Merge the specified cells to target cell in the worksheet. |
void |
setValue(java.lang.String value)
Sets the value of the cell. |
void |
setVerticalAlignment(WdCellVerticalAlignment value)
Sets the vertical alignment of text in cell. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setValue(java.lang.String value) throws java.lang.Exception, java.io.IOException
java.lang.Exception
java.io.IOException
DataRegion.openTable() to learn how to set the value of the cell.
public Font getFont()
public ParagraphFormat getParagraphFormat()
public Shading getShading()
public Border getBorder() throws java.io.IOException
java.io.IOException
public void setVerticalAlignment(WdCellVerticalAlignment value) throws java.io.IOException
java.io.IOException
public void mergeTo(int row, int col)
row
- The row number of the target cell.col
- The column number of the target cell.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |