|
fop 2.2 | |||||||||
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 ([email protected]), Andreas Putz ([email protected]), and Roberto Marra ([email protected]).
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 problemspublic 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 problemspublic 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 problemspublic 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 clonedprotected void writeRtfPrefix() throws java.io.IOException
RtfElement
writeRtfPrefix
in class RtfElement
java.io.IOException
- for I/O problemsprotected void writeRtfContent() throws java.io.IOException
writeRtfContent
in class RtfContainer
java.io.IOException
- for I/O problemspublic void writeRowAndCellsDefintions() throws java.io.IOException
java.io.IOException
- In case of a IO-problemprotected void writeRtfSuffix() throws java.io.IOException
writeRtfSuffix
in class RtfElement
java.io.IOException
- for I/O problemspublic boolean isFirstRow()
public boolean isHighestCell(int cellId)
cellId
- cell id to check
public RtfTable getTable()
|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |