throws FOPException {
//Property p;
//RtfColorTable colorTable = RtfColorTable.getInstance();
RtfAttributes attrib = null;
if (rtfatts == null) {
attrib = new RtfAttributes();
} else {
attrib = rtfatts;
}
//String attrValue;
//boolean isBorderPresent = false;
//need to set a default width
//check for keep-together row attribute
if (fobj.getKeepTogether().getWithinPage().getEnum() == Constants.EN_ALWAYS) {
attrib.set(ITableAttributes.ROW_KEEP_TOGETHER);
}
//Check for keep-with-next row attribute.
if (fobj.getKeepWithNext().getWithinPage().getEnum() == Constants.EN_ALWAYS) {
attrib.set(ITableAttributes.ROW_KEEP_WITH_NEXT);
}
//Check for keep-with-previous row attribute.
if (fobj.getKeepWithPrevious().getWithinPage().getEnum() == Constants.EN_ALWAYS) {
attrib.set(ITableAttributes.ROW_KEEP_WITH_PREVIOUS);
}
//Check for height row attribute.
if (fobj.getHeight().getEnum() != Constants.EN_AUTO) {
attrib.set(ITableAttributes.ROW_HEIGHT, fobj.getHeight().getValue() / (1000 / 20));
}
/* to write a border to a side of a cell one must write the directional
* side (ie. left, right) and the inside value if one needs to be taken
* out ie if the cell lies on the edge of a table or not, the offending