Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Table Cell Source for Document Builder
public class TableCellSource : ISource
public WmlDocument WmlDocument { get; set; }
public bool KeepSections { get; set; }
public string InsertId { get; set; }
public int TableNum { get; set; }
public int RowNum { get; set; }
public int ColumnNum { get; set; }
public IEnumerable<XElement> GetElements(WordprocessingDocument document)
return document.MainDocumentPart.GetXDocument()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment