|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTableRow
public class RtfTableRow
Container for RtfTableCell elements.
This work was authored by Bertrand Delacretaz (bdelacretaz@codeconsult.ch), Andreas Putz (a.putz@skynamics.com), and Roberto Marra (roberto@link-u.com).
| Field Summary |
|---|
| Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement |
|---|
attrib, parent, writer |
| Method Summary | |
|---|---|
RtfTable |
getTable()
|
boolean |
isFirstRow()
|
boolean |
isHighestCell(int cellId)
|
RtfTableCell |
newTableCell(int cellWidth)
Close current cell if any and start a new one |
RtfTableCell |
newTableCell(int cellWidth,
RtfAttributes attrs)
Close current cell if any and start a new one |
RtfTableCell |
newTableCellMergedHorizontally(int cellWidth,
RtfAttributes attrs)
Added by Boris POUDEROUS on 07/02/2002 in order to add an empty cell that is merged with the previous cell. |
RtfTableCell |
newTableCellMergedVertically(int cellWidth,
RtfAttributes attrs)
Added by Boris POUDEROUS on 07/02/2002 in order to add an empty cell that is merged with the cell above. |
void |
writeRowAndCellsDefintions()
|
protected void |
writeRtfContent()
Overridden to write trowd and cell definitions before writing our cells |
protected void |
writeRtfPrefix()
Called before writeRtfContent() |
protected void |
writeRtfSuffix()
Overridden to write RTF suffix code, what comes after our children |
| Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer |
|---|
addChild, findChildren, getChildCount, getChildren, isEmpty, okToWriteRtf, setChildren, setOptions, toString |
| Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement |
|---|
close, getParentOfClass, getRtfAttributes, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeStarControlWord, writeStarControlWordNS |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public RtfTableCell newTableCell(int cellWidth)
throws java.io.IOException
cellWidth - width of new cell
java.io.IOException - for I/O problems
public RtfTableCell newTableCell(int cellWidth,
RtfAttributes attrs)
throws java.io.IOException
attrs - attributes of new cellcellWidth - width of new cell
java.io.IOException - for I/O problems
public RtfTableCell newTableCellMergedVertically(int cellWidth,
RtfAttributes attrs)
throws java.io.IOException
attrs - attributes of new cellcellWidth - width of new cell
java.io.IOException - for I/O problems
public RtfTableCell newTableCellMergedHorizontally(int cellWidth,
RtfAttributes attrs)
throws java.io.IOException,
FOPException
attrs - attributes of new cellcellWidth - width of new cell
java.io.IOException - for I/O problems
FOPException - if attributes cannot be cloned
protected void writeRtfPrefix()
throws java.io.IOException
RtfElement
writeRtfPrefix in class RtfElementjava.io.IOException - for I/O problems
protected void writeRtfContent()
throws java.io.IOException
writeRtfContent in class RtfContainerjava.io.IOException - for I/O problems
public void writeRowAndCellsDefintions()
throws java.io.IOException
java.io.IOException - In case of a IO-problem
protected void writeRtfSuffix()
throws java.io.IOException
writeRtfSuffix in class RtfElementjava.io.IOException - for I/O problemspublic boolean isFirstRow()
public boolean isHighestCell(int cellId)
cellId - cell id to check
public RtfTable getTable()
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||