fei
昨天 ca4b62abd2560b6dcffbf3ff43da1b04427b494b
ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtilManySheetSecond.java
@@ -347,7 +347,7 @@
                    printSetup.setLandscape(false);  // 纵向打印
                    sheet.setMargin(Sheet.LeftMargin, 1.04);
                    sheet.setMargin(Sheet.RightMargin, 1.04);
                    sheet.setMargin(Sheet.TopMargin, 0.97);
                    sheet.setMargin(Sheet.TopMargin, 1.18);
                    sheet.setMargin(Sheet.BottomMargin, 0.97);
                    //拿到图片
                    // 创建单元格并添加图片
@@ -702,7 +702,7 @@
            else
                row = sheet.createRow(i + 1 );
            row.setHeightInPoints(40); // 设置行高为20磅
         //   row.setHeightInPoints(40); // 设置行高为20磅
            // row.createCell(0)
            // 得到导出对象.
@@ -976,9 +976,9 @@
        // 3. 使用较大的高度(自动计算的高度或当前高度)
        short baseHeight = (short) Math.max(currentHeight, autoHeight);
        System.out.println(baseHeight+"aaaaaaaaatttttttt");
        System.out.println(autoHeight+"-----"+currentHeight+"-----"+baseHeight+"aaaaaaaaatttttttt");
        // 4. 在基础上增加额外高度(100单位 = 5点)
        short extraHeight = 80;
        short extraHeight = (short) 20;
        short newHeight = (short) (baseHeight + extraHeight);
        // 5. 限制最大高度