https://issues.apache.org/bugzilla/show_bug.cgi?id=56973
Nanan <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID OS| |All --- Comment #1 from Nanan <[email protected]> --- The cell contents in the xlsx files poi generated, is not a string table index, but a real inline string; so I use the code as bellow can read the xlsx contents; in the handler's startElement(){ .... if("s".equals(cellType) || "inlineStr".equals(cellType)){ nextIsString = true; } else { nextIsString = false; } .... } endElement(){ .... if("s".equals(cellType)){ int index = Integer.parseInt(lastString); lastString = new XSSFRichTextString(sst.getEntryAt(index)).toString(); } else if("inlineStr".equals(cellType)){ System.out.println("inline stirng:" + lastString); } .... } -- 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]
