org.apache.fop.render.rtf.rtflib.rtfdoc
Class RtfTable
java.lang.Object
|
+--org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
|
+--org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
|
+--org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTable
- public class RtfTable
- extends RtfContainer
Container for RtfRow elements
- Author:
- Bertrand Delacretaz bdelacretaz@codeconsult.ch
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement |
close, 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 |
newTableRow
public RtfTableRow newTableRow()
throws java.io.IOException
- Close current row if any and start a new one
- Returns:
- new RtfTableRow
- Throws:
java.io.IOException
- for I/O problems
newTableRow
public RtfTableRow newTableRow(RtfAttributes attrs)
throws java.io.IOException
- Close current row if any and start a new one
- Parameters:
attrs
- attributs of new RtfTableRow- Returns:
- new RtfTableRow
- Throws:
java.io.IOException
- for I/O problems
writeRtfPrefix
protected void writeRtfPrefix()
throws java.io.IOException
- Overridden to write RTF prefix code, what comes before our children
- Overrides:
writeRtfPrefix
in class RtfElement
- Throws:
java.io.IOException
- for I/O problems
writeRtfSuffix
protected void writeRtfSuffix()
throws java.io.IOException
- Overridden to write RTF suffix code, what comes after our children
- Overrides:
writeRtfSuffix
in class RtfElement
- Throws:
java.io.IOException
- for I/O problems
isHighestRow
public boolean isHighestRow(int id)
- Parameters:
id
- row to check (??)- Returns:
- true if id is the highestRow
getITableColumnsInfo
public ITableColumnsInfo getITableColumnsInfo()
- Added by Boris Poudérous on 07/22/2002
- Returns:
- ITableColumnsInfo for this table
setHeaderAttribs
public void setHeaderAttribs(RtfAttributes attrs)
- Added by Normand Masse
Support for table-header attributes (used instead of table attributes)
- Parameters:
attrs
- attributes to be set
getHeaderAttribs
public RtfAttributes getHeaderAttribs()
getRtfAttributes
public RtfAttributes getRtfAttributes()
- Added by Normand Masse
- Overrides:
getRtfAttributes
in class RtfElement
- Returns:
- the table-header attributes if they are present, otherwise the
parent's attributes are returned normally.
Copyright 1999-2005 The Apache Software Foundation. All Rights Reserved.