|
@@ -301,6 +301,8 @@ public class ReportServiceImpl implements IReportService {
|
|
XWPFParagraph paraImag = row.getCell(0).addParagraph();
|
|
XWPFParagraph paraImag = row.getCell(0).addParagraph();
|
|
paraImag.setAlignment(ParagraphAlignment.CENTER); // 居中对齐
|
|
paraImag.setAlignment(ParagraphAlignment.CENTER); // 居中对齐
|
|
|
|
|
|
|
|
+ System.out.println("图片路径path:" + path);
|
|
|
|
+
|
|
XWPFRun run = paraImag.createRun();
|
|
XWPFRun run = paraImag.createRun();
|
|
// File imageFile = new File("states.png");
|
|
// File imageFile = new File("states.png");
|
|
File imageFile = new File(path);
|
|
File imageFile = new File(path);
|