final int baseStyleIdValue = baseStyleId == null ? DEFAULT_BASE_STYLE_ID : Integer.parseInt( baseStyleId.getValue() );
final Style base = baseStyleId != null ? _baseStyles.get( baseStyleIdValue ) : null;
final Attribute numberFormatId = se.getAttributeByName( XMLConstants.Main.NUMBER_FORMAT_ID );
final Attribute applyNumberFormat = se.getAttributeByName( XMLConstants.Main.FORMAT_APPLY_NUMBER_FORMAT );
final NumberFormat numberFormat = getNumberFormatCode( _numberFormats, numberFormatId );
final Style style;
if (base == null)
style = new Style( 0, numberFormat,
applyNumberFormat != null && getApplyNumberFormat( applyNumberFormat ) );
else