导出手册报错,代码提交
This commit is contained in:
parent
55f190d261
commit
b01f4d168c
@ -704,9 +704,9 @@ public class OutputWordUtil {
|
|||||||
TableCell cellImg = table.getRows().get(0).getCells().get(1);
|
TableCell cellImg = table.getRows().get(0).getCells().get(1);
|
||||||
//创建 DocPicture 类的对象
|
//创建 DocPicture 类的对象
|
||||||
DocPicture picture = new DocPicture(templateDoc);
|
DocPicture picture = new DocPicture(templateDoc);
|
||||||
//从磁盘加载图片
|
/*
|
||||||
String logoUrl = dataMap.getString("LOGOURL");
|
String logoUrl = dataMap.getString("LOGOURL");
|
||||||
picture.loadImage(logoUrl);
|
picture.loadImage(logoUrl);*/
|
||||||
//设置图片大小
|
//设置图片大小
|
||||||
picture.setWidth(75);
|
picture.setWidth(75);
|
||||||
picture.setHeight(90);
|
picture.setHeight(90);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user