public ExcelTableReader
(
ListObject table
)
{
Debug.Assert(table != null);
m_oTable = table;
m_oColumnIndexesOneBased = new Dictionary<String, Int32>();
ListColumns oColumns = table.ListColumns;
Int32 iColumns = oColumns.Count;
for (Int32 i = 1; i <= iColumns; i++)
{
String sColumnName = oColumns[i].Name;
if ( !String.IsNullOrEmpty(sColumnName) )
{
m_oColumnIndexesOneBased.Add(sColumnName, i);
}
}
m_oCurrentSubrange = null;
m_aoCurrentSubrangeValues = null;
m_iCurrentRowOneBased = Int32.MinValue;
AssertValid();
}