other a is or - 3 @ see org . apache . poi . hssf . usermodel . hssfsheet # { @ link
348. final HSSFFont other = (HSSFFont) obj; 350. if (other.font != null) 352. } else if (!font.equals(other.font)) 354. if (index != other.index)
initialize the data on a sheet .
38. HSSFFont font = newStyle.getFont(workbook); 39. if(font.getBoldweight() == HSSFFont.BOLDWEIGHT_BOLD) 41. if(font.getItalic()) 43. if(font.getUnderline() != HSSFFont.U_NONE) 46. if(font.getFontHeightInPoints() != 10 && font.getFontHeightInPoints() != 11) 47. element.addElement("font-size").addText(String.valueOf(font.getFontHeightInPoints() + "pt")); 49. if(!font.getFontName().equals("Arial") && !font.getFontName().equals("Calibri")) 50. element.addElement("font-family").addText(font.getFontName()); 51. if((font.getColor() != HSSFFont.COLOR_NORMAL) && !getRGBString(font.getColor()).equals("#000")) 52. element.addElement("color").addText(getRGBString(font.getColor()));
this method is for the sheet and it # value @ param
42. HSSFFont font = newStyle.getFont(workbook); 43. if (font.getBoldweight() == HSSFFont.BOLDWEIGHT_BOLD) 45. if (font.getItalic()) 47. if (font.getUnderline() != HSSFFont.U_NONE) 50. if (font.getFontHeightInPoints() != 10 51. && font.getFontHeightInPoints() != 11) 54. if (!font.getFontName().equals("Arial") 55. && !font.getFontName().equals("Calibri")) 57. if ((font.getColor() != HSSFFont.COLOR_NORMAL) 58. && (getRGBString(font.getColor()) != null) 59. && !getRGBString(font.getColor()).equals("#000"))