Example #1
0
 private void prontFonts(Workbook wb) {
   for (short i = 0, le = wb.getNumberOfFonts(); i <= le; i++) {
     Font font = wb.getFontAt(i);
     out.format(".%s .%s {%n", DEFAULTS_CLASS, "font_" + i + "_" + cssRandom);
     fontStyle(font);
     out.format("}%n");
   }
 }