116117118119120121122123124125126127128
int idx = 0; int rownum = 1; String ln; while((ln = modelReader.readLine()) != null){ String[] vals = ln.split("\\s+"); CTNumVal numVal = numData.addNewPt(); numVal.setIdx(idx); numVal.setV(vals[1]); CTStrVal sVal = strData.addNewPt(); sVal.setIdx(idx); sVal.setV(vals[0]);
125126127128129130131132133
* This is Office default behaviour. */ if (Double.isNaN(pointValue)) { return; } CTNumVal point = ctNumData.addNewPt(); point.setIdx(ctx.getOrdinalNumber()); point.setV(NumberToTextConverter.toText(pointValue)); }