public ABIW_Cell(Cell cell) { this.Cell = cell; this.wBorderTop = new ABIW_Border(cell.Borders[WdBorderType.wdBorderTop]); this.wBorderBottom = new ABIW_Border(cell.Borders[WdBorderType.wdBorderBottom]); this.wBorderLeft = new ABIW_Border(cell.Borders[WdBorderType.wdBorderLeft]); this.wBorderRight = new ABIW_Border(cell.Borders[WdBorderType.wdBorderRight]); }
public ABIW_Borders(Borders borders) { this.borders = borders; this.wBorderTop = new ABIW_Border(borders[WdBorderType.wdBorderTop]); this.wBorderBottom = new ABIW_Border(borders[WdBorderType.wdBorderBottom]); this.wBorderLeft = new ABIW_Border(borders[WdBorderType.wdBorderLeft]); this.wBorderRight = new ABIW_Border(borders[WdBorderType.wdBorderRight]); }