JAVA中打印excel时,根据单元格内容调整行高

     /*
     * 设置row行  高度hight
     * 作者:bucce
     */
    public static void printSetCellHight(int row, int hight,PrintWriter writer)
    {
     writer.write("objdocSheets.Sheets(\"Sheet1\").Rows(\"" + row + ":" + row+1 + "\").RowHeight="+getHight(hight)+";");
    }

你可能感兴趣的:(java,Excel)