Browse Source

fix FOP-1616

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1872447 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-2_5
Chris Bowditch 4 years ago
parent
commit
d3c2f77d29

+ 7
- 2
fop-core/src/main/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTableCell.java View File

RtfTable tab = getRow().getTable(); RtfTable tab = getRow().getTable();


// Get the context of the current table in order to get the width of each column // Get the context of the current table in order to get the width of each column
ITableColumnsInfo tableColumnsInfo
= tab.getITableColumnsInfo();
ITableColumnsInfo tableColumnsInfo = tab.getITableColumnsInfo();


tableColumnsInfo.selectFirstColumn(); tableColumnsInfo.selectFirstColumn();




i--; i--;
} }

// check whether table right border should apply if this is really the last cell in the row
if (this.getRow().isHighestCell(this.id + nbMergedCells - 1)) {
writeAttributes(this.getRow().getTable().getBorderAttributes(), new String[]
{ITableAttributes.CELL_BORDER_RIGHT});
}
} }
final int xPos = offset + iCurrentWidth; final int xPos = offset + iCurrentWidth;



Loading…
Cancel
Save