Global.getCellStyle (c)
Sourcecode in /home/hannes/helma/modules/helma/Chart.js:
50:   function getCellStyle(c) {
51:           if (!c)
52:               return;
53:           var result = new Object();
54:           var format = c.getCellFormat();
55:           var font = format.getFont();
56:           if (font.getBoldWeight() > 400)
57:               result.bold = true;
58:           result.italic = font.isItalic();
59:          result.wrap = format.getWrap();
60:          var type = c.getType();
61:          var align = format.getAlignment().getDescription();
62:          if (align == "right" || type == "Number" || type == "Date")
63:              result.align = "right";
64:          else if (align == "centre")
65:              result.align = "center";
66:          return result;
67:      }