This bug caused a Table to be inserted "inside" the first element of a document's XML instead of "as" the first element.master
| public Table InsertTable(int rowCount, int coloumnCount) | public Table InsertTable(int rowCount, int coloumnCount) | ||||
| { | { | ||||
| XElement newTable = HelperFunctions.CreateTable(rowCount, coloumnCount); | XElement newTable = HelperFunctions.CreateTable(rowCount, coloumnCount); | ||||
| Xml.Elements().First().Add(newTable); | |||||
| Xml.Add(newTable); | |||||
| return new Table(Document, newTable); | return new Table(Document, newTable); | ||||
| } | } |