SectionInfo util_createSectionInfo( int _index, String _name,
String _startSheetName, int _startRowIndex, int _startColumnIndex,
String _endSheetName, int _endRowIndex, int _endColumnIndex )
{
final int index = _index;
final RangeAddressImpl range;
if (_startSheetName != null && _endSheetName != null) {
final CellAddress startCellAddress = new CellAddressImpl( _startSheetName, _startColumnIndex, _startRowIndex );
final CellAddress endCellAddress = new CellAddressImpl( _endSheetName, _endColumnIndex, _endRowIndex );
range = new RangeAddressImpl( startCellAddress, endCellAddress );
}
else range = null;
return new SectionInfoImpl( _name, range, index );
}