style = new Style( _baseStyleId, NumberFormat.getPredefinedNumberFormat( numberFormatId ), true );
node.addAttribute( XMLConstants.Main.FORMAT_STYLE_ID, Integer.toString( _baseStyleId ) );
node.addAttribute( XMLConstants.Main.FORMAT_APPLY_NUMBER_FORMAT, XMLConstants.TRUE );
node.addAttribute( XMLConstants.Main.NUMBER_FORMAT_ID, Integer.toString( numberFormatId ) );
}
this.styles.add( style );
this.xmlCellXfs.add( node );
return this.xmlCellXfs.size() - 1;