https://issues.apache.org/bugzilla/show_bug.cgi?id=57226
Bug ID: 57226
Summary: CellStyle.setShrinkToFit(true); makes the program
fail, without throwing any error
Product: POI
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
I have a java class that initializes different cell styles to will be applied
on a spreadsheet. Like the following:
private void createNormalStyle(Workbook wb){
CellStyle cs = wb.createCellStyle();
// cs.setShrinkToFit(true);
cs.setAlignment(CellStyle.ALIGN_LEFT);
cs.setVerticalAlignment(CellStyle.VERTICAL_CENTER);
this.standardCellStyle=cs;
}
If I add the line that sets the rhinkToFt to true, the program blocks, without
throwing any error.
If I remove it the program works fine.
--
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]