|
fop 0.90alpha1 | ||||||||||
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
Container for RtfTableCell elements
Field Summary |
Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement |
attrib, parent, writer |
Method Summary | |
boolean |
isFirstRow()
|
boolean |
isHighestCell(int id)
|
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. |
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, getChildCount, getChildren, isEmpty, okToWriteRtf, setChildren, setOptions, toString |
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement |
close, 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
attrs
- attributes of new cellcellWidth
- width of new cell
java.io.IOException
- for I/O problemsprotected 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 problemsprotected void writeRtfSuffix() throws java.io.IOException
writeRtfSuffix
in class RtfElement
java.io.IOException
- for I/O problemspublic boolean isFirstRow()
public boolean isHighestCell(int id)
id
- cell id to check
|
fop 0.90alpha1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |