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

--- Comment #5 from [email protected] 2010-11-10 04:16:33 EST ---
I inserted the line into my example code. Now it looks like:

    cell1.setCellType(HSSFCell.CELL_TYPE_NUMERIC);
    cell1.setCellFormula("A1+2*A1-2*A1");
        HSSFFormulaEvaluator.evaluateAllFormulaCells(workbook);
    sheet.autoSizeColumn(1);

This does not resolve the problem. Column #1 is still much wider then column #0
and it scales with the size of the formula (see attachment). 

Does it work correctly in your environment? Am I missing something else?

Gerd

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to