How to extract content from Table cell using DocumentBuilder?

Sep 28, 2012 at 11:45 AM


Could I use DocumentBuilder to copy content of one table cell to another document?

Is it possible to describe content of the one table cell as a Source?


Sep 28, 2012 at 2:18 PM


No, the granularity of a source is at the table level.  It is a good idea, though.


Sep 28, 2012 at 2:48 PM
Edited Sep 28, 2012 at 2:49 PM


I can already offer a solution.  We can define ISource interface for sources (that encapsulate a content extraction from source document), and implement DocumentBuilder in terms of ISource.  Draft version you can find here - (tiny changes require into MergeOpenXmlDocumentCmdlet.cs)

After that we can define new Source for table cells - something like that

What do you think about such changes?