public class RtfTable extends RtfContainer
Container for RtfRow elements.
This work was authored by Bertrand Delacretaz (bdelacretaz@codeconsult.ch).
attrib, parent, writer| Modifier and Type | Method and Description |
|---|---|
RtfAttributes |
getBorderAttributes()
Returns the RtfAttributes for the borders of the table.
|
RtfAttributes |
getHeaderAttribs() |
ITableColumnsInfo |
getITableColumnsInfo()
Added by Boris Poudérous on 07/22/2002
|
int |
getNestedTableDepth()
Returns the nested table depth.
|
RtfTableRow |
getRow() |
RtfAttributes |
getRtfAttributes()
Added by Normand Masse
|
boolean |
isHighestRow(int id) |
boolean |
isNestedTable() |
RtfTableRow |
newTableRow()
Close current row if any and start a new one
|
RtfTableRow |
newTableRow(RtfAttributes attrs)
Close current row if any and start a new one
|
void |
setBorderAttributes(RtfAttributes attributes)
Sets the RtfAttributes for the borders of the table.
|
void |
setHeaderAttribs(RtfAttributes attrs)
Added by Normand Masse
Support for table-header attributes (used instead of table attributes)
|
void |
setNestedTableDepth(int nestedTableDepth)
Sets the nested table depth.
|
protected void |
writeRtfPrefix()
Overridden to write RTF prefix code, what comes before our children
|
protected void |
writeRtfSuffix()
Overridden to write RTF suffix code, what comes after our children
|
addChild, findChildren, getChildCount, getChildren, isEmpty, okToWriteRtf, setChildren, setOptions, toString, writeRtfContentclose, getParentOfClass, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeStarControlWord, writeStarControlWordNSpublic RtfTableRow newTableRow() throws java.io.IOException
java.io.IOException - for I/O problemspublic RtfTableRow newTableRow(RtfAttributes attrs) throws java.io.IOException, FOPException
attrs - attributs of new RtfTableRowjava.io.IOException - for I/O problemsFOPException - if attributes cannot be clonedprotected void writeRtfPrefix()
throws java.io.IOException
writeRtfPrefix in class RtfElementjava.io.IOException - for I/O problemsprotected void writeRtfSuffix()
throws java.io.IOException
writeRtfSuffix in class RtfElementjava.io.IOException - for I/O problemspublic boolean isHighestRow(int id)
id - row to check (??)public ITableColumnsInfo getITableColumnsInfo()
public void setHeaderAttribs(RtfAttributes attrs)
attrs - attributes to be setpublic RtfAttributes getHeaderAttribs()
public RtfAttributes getRtfAttributes()
getRtfAttributes in class RtfElementpublic boolean isNestedTable()
public RtfTableRow getRow()
public void setNestedTableDepth(int nestedTableDepth)
nestedTableDepth - the nested table depthpublic int getNestedTableDepth()
public void setBorderAttributes(RtfAttributes attributes)
attributes - Border attributes of the table.public RtfAttributes getBorderAttributes()
Copyright 1999-2022 The Apache Software Foundation. All Rights Reserved.