瀏覽代碼

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 年之前
父節點
當前提交
d3c2f77d29
共有 1 個文件被更改,包括 7 次插入2 次删除
  1. 7
    2
      fop-core/src/main/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTableCell.java

+ 7
- 2
fop-core/src/main/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfTableCell.java 查看文件

@@ -234,8 +234,7 @@ public class RtfTableCell
RtfTable tab = getRow().getTable();

// 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();

@@ -256,6 +255,12 @@ public class RtfTableCell

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;


Loading…
取消
儲存