org.apache.fop.render.rtf.rtflib.rtfdoc
Class RtfTable
Container for RtfRow elements
- Bertrand Delacretaz bdelacretaz@codeconsult.ch
close , getRtfAttributes , isEmpty , newLine , okToWriteRtf , toString , writeAttributes , writeControlWord , writeControlWordNS , writeExceptionInRtf , writeGroupMark , writeOneAttribute , writeOneAttributeNS , writeRtf , writeRtfContent , writeRtfPrefix , writeRtfSuffix , writeStarControlWord , writeStarControlWordNS |
getBorderAttributes
public RtfAttributes getBorderAttributes()
Returns the RtfAttributes for the borders of the table.
- Border attributes of the table.
getITableColumnsInfo
public ITableColumnsInfo getITableColumnsInfo()
Added by Boris Poudérous on 07/22/2002
- ITableColumnsInfo for this table
getNestedTableDepth
public int getNestedTableDepth()
Returns the nested table depth.
getRow
public RtfTableRow getRow()
- Parent row table (for nested tables only)
getRtfAttributes
public RtfAttributes getRtfAttributes()
Added by Normand Masse
- getRtfAttributes in interface RtfElement
- the table-header attributes if they are present, otherwise the
parent's attributes are returned normally.
isHighestRow
public boolean isHighestRow(int id)
- true if id is the highestRow
isNestedTable
public boolean isNestedTable()
- true if the the table is a nested table
newTableRow
public RtfTableRow newTableRow()
throws IOException
Close current row if any and start a new one
newTableRow
public RtfTableRow newTableRow(RtfAttributes attrs)
throws IOException
Close current row if any and start a new one
attrs
- attributs of new RtfTableRow
setBorderAttributes
public void setBorderAttributes(RtfAttributes attributes)
Sets the RtfAttributes for the borders of the table.
attributes
- Border attributes of the table.
setHeaderAttribs
public void setHeaderAttribs(RtfAttributes attrs)
Added by Normand Masse
Support for table-header attributes (used instead of table attributes)
attrs
- attributes to be set
setNestedTableDepth
public void setNestedTableDepth(int nestedTableDepth)
Sets the nested table depth.
nestedTableDepth
- the nested table depth
writeRtfPrefix
protected void writeRtfPrefix()
throws IOException
Overridden to write RTF prefix code, what comes before our children
- writeRtfPrefix in interface RtfElement
writeRtfSuffix
protected void writeRtfSuffix()
throws IOException
Overridden to write RTF suffix code, what comes after our children
- writeRtfSuffix in interface RtfElement
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.