public Table AddTable(int rowCount, int columnCount)
{
if (rowCount < 1 || columnCount < 1)
throw new ArgumentOutOfRangeException("Row and Column count must be greater than zero.");
Table t = new Table(this, HelperFunctions.CreateTable(rowCount, columnCount));
t.mainPart = mainPart;
return t;
}