ru.novosoft.dc.rtf.dom
Class RTFRow
java.lang.Object
|
+--ru.novosoft.dc.rtf.dom.RTFRow
- public class RTFRow
- extends java.lang.Object
A row consists of a row context and a vector of flows
(one flow per a cell).
|
Method Summary |
void |
addCell(RTFFlow value)
Add a new cell flow. |
void |
attachContext(RowContext context)
Attach a context to the row. |
RTFFlow |
cell(int index)
Return a content of cell of the specified zero-based index. |
int |
cellCount()
Return a number of cell flows defined in the row content. |
RowContext |
context()
Return the row context or null if no context attached. |
void |
exportTo(org.w3c.dom.Element elem)
Export the contents of this object to the specified DOM element. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
RTFRow
public RTFRow()
attachContext
public final void attachContext(RowContext context)
- Attach a context to the row.
context
public final RowContext context()
- Return the row context or null if no context attached.
cellCount
public final int cellCount()
- Return a number of cell flows defined in the row content.
addCell
public final void addCell(RTFFlow value)
- Add a new cell flow.
cell
public final RTFFlow cell(int index)
- Return a content of cell of the specified zero-based index.
exportTo
public void exportTo(org.w3c.dom.Element elem)
- Export the contents of this object to the specified DOM element.