public OXMLTableCellWrap(OXMLTableWrap table, int ColumnNumber, int RowNumber) { TableRow row = table.XMLTable.Elements<TableRow>().ElementAt(RowNumber); TableCell cell = row.Elements<TableCell>().ElementAt(ColumnNumber); paragraph = new OXMLParagraphWrap(cell.Elements<Paragraph>().First()); margins = new OXMLTableCellMarginsWrap(this); }
public OXMLTableCellWrap() { paragraph = new OXMLParagraphWrap(); margins = new OXMLTableCellMarginsWrap(this); XMLCell = AddCell(paragraph); }