JSONObj result = new JSONObj();
result.setData("r", row);
result.setData("c", col);
result.setData("type", "udcell");
Format format = (cell==null)?null:cell.getFormat();
boolean wrap = false;
CellFormatHelper cfh = new CellFormatHelper(sheet,row,col,getMergeMatrixHelper(sheet));
String st = cfh.getHtmlStyle();
String ist = cfh.getInnerHtmlStyle();
if (st != null && !"".equals(st)){
result.setData("st", st);// style of text cell.
}
if (ist != null && !"".equals(ist)){
result.setData("ist", ist);// inner style of text cell
}
if (format!=null && format.isTextWrap()){
wrap = true;
result.setData("wrap", true);
}
if (cfh.hasRightBorder()){
result.setData("rbo",true);