/**
* Finds a font that matches the one with the supplied attributes
*/
public XSSFFont findFont(short boldWeight, Color color, short fontHeight, String name, boolean italic, boolean strikeout, short typeOffset, byte underline) {
for (XSSFFont font : getStylesSource().getFonts()) {
final XSSFColor fontColor = font.getXSSFColor();
if ( (font.getBoldweight() == boldWeight)
&& (color == fontColor || color != null && color.equals(fontColor))
&& font.getFontHeight() == fontHeight
&& font.getFontName().equals(name)
&& font.getItalic() == italic