}
}
final Map<String, CellRange> modelRangeNames = _spreadsheet.getModelRangeNames();
if (modelRangeNames != null && !modelRangeNames.isEmpty()) {
final ElementWriter elementWriter = new ElementWriter( getXmlEventFactory(), getXmlEventWriter(),
XMLConstants.Table.NAMED_EXPRESSIONS );
elementWriter.startElement( null );
{
final NamedRangeWriter namedRangeWriter = new NamedRangeWriter( getXmlEventFactory(), getXmlEventWriter() );
for (Map.Entry<String, CellRange> nameDefinition : modelRangeNames.entrySet()) {
namedRangeWriter.write( nameDefinition.getKey(), nameDefinition.getValue() );
}
}
elementWriter.endElement();
}
endElement();
}