示例#1
0
 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);
 }
示例#2
0
 public OXMLTableCellWrap()
 {
     paragraph = new OXMLParagraphWrap();
     margins = new OXMLTableCellMarginsWrap(this);
     XMLCell = AddCell(paragraph);
 }