Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
simple-odfdom-0.8
-
None
-
Operating System: Windows
Platform: PC
-
157
Description
NullPointException when setting format string to a new spreadsheet document. The following is the sample code:
OdfSpreadsheetDocument doc = (OdfSpreadsheetDocument) OdfSpreadsheetDocument.newSpreadsheetDocument();
doc.getOrCreateDocumentStyles();
OdfTable table = OdfTable.newTable(doc,rownumber,clmnumber);
table.setTableName("sheet"+sheeti);
for(int row=0;row<rownumber;row++)
Exception will be thrown when executing statement (1).
When executing statement (2), error message "This function doesn't support time cell" will be printed out.
Can you check if it is possible to support time values easily in "setFormatString" method, since I noticed OdfTimeStyle is ready there.
Attachments
Attachments
Issue Links
- is duplicated by
-
ODFTOOLKIT-93 GetTimeValue/setTimeValue call inappropriate method in OdfTableCell
- Closed