https://issues.apache.org/bugzilla/show_bug.cgi?id=55644

            Bug ID: 55644
           Summary: autoSizeColumn hiding columns
           Product: POI
           Version: 3.9
          Hardware: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: gjjagade...@gmail.com

I generated one excel file using below program.
When I open excel in Office 2010, then column selected for autoSizeColumn is
hiding.
If I remove the autoSizecolumn, then it works normally.

public class Automation 
{

    public static void main(String[] args) 
    {

        XSSFWorkbook workbook = new XSSFWorkbook();
        XSSFSheet sheet = workbook.createSheet("students");
          XSSFRow row = sheet.createRow(1);
          XSSFCell cell = row.createCell(1);
          cell.setCellValue("sandeepzzzzzzzzzzzzzzzzzzzzzzzzz");
          sheet.autoSizeColumn(1);

        try
        {
            FileOutputStream fileOut = new FileOutputStream("workbook.xlsx");
            workbook.write(fileOut);
            fileOut.close();
        }catch(Exception e)
        {

        }


    }

}

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to