瀏覽代碼
修复多列表格中行高度设置错误导致的pdf导出数据丢失问题
master
lee-hong
6 年前
提交者
GitHub
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 4AEE18F83AFDEB23
共有
1 個檔案被更改,包括
4 行新增 和
1 行删除
-
ureport2-core/src/main/java/com/bstek/ureport/model/Cell.java
|
|
@ -650,7 +650,10 @@ public class Cell implements ReportCell { |
|
|
|
int dif=totalLineHeight-totalRowHeight; |
|
|
|
if(dif>0){ |
|
|
|
int rowHeight=row.getHeight(); |
|
|
|
row.setRealHeight(rowHeight+dif); |
|
|
|
int newRowHeight = rowHeight+dif; |
|
|
|
if(row.getRealHeight()< newRowHeight){ |
|
|
|
row.setRealHeight(newRowHeight); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|