How to add table in currently active word document using Open XMl RRS feed

  • Question

  • Hi all,

    I am creating a Word Addin that will retrieve an Excel range from an Excel file that is present in Sharepoint's document library using Excel Rest API in atom format.

    Then using WordprocessingDocument Class (Assembly: DocumentFormat.OpenXml (in documentformat.openxml.dll)) and reading the XML nodes from the receiving response, I want to create table in currently active word file.

    I am able to create a new word file and add table to it. But how to add this table to current active document as it is Word Addin.??

    Thanks in advance.


    Thursday, January 17, 2013 8:54 AM