|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.zhuozhengsoft.pageoffice.wordreader.Cell
public class Cell
Cell 类,代表Word表格中的一个单元格。
Cell表示Word表格中的一个单元格,用来读取Word表格中单元格的数据。您只能通过调用 Table.openCellRC(int, int) 方法获取 Cell 对象。
| 方法摘要 | |
|---|---|
int |
getColumnIndex()
获取单元格的列索引。 |
int |
getRowIndex()
获取单元格的行索引。 |
java.util.ArrayList<Shape> |
getShapes()
获取 Cell 里包含的 Shape 集合。 |
java.lang.String |
getValue()
获取 Cell 的值。 |
Shape |
openShape(int index)
打开指定的图形,并返回 Shape 对象。 |
| 从类 java.lang.Object 继承的方法 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 方法详细信息 |
|---|
public java.util.ArrayList<Shape> getShapes()
throws java.io.IOException,
java.lang.Exception
java.io.IOException
java.lang.Exception
public java.lang.String getValue()
throws java.io.IOException
java.io.IOExceptionpublic int getRowIndex()
public int getColumnIndex()
public Shape openShape(int index)
throws java.lang.Exception
index - Shape的索引,和Word中定义的概念完全一致。从"1"开始。
java.lang.Exception
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||