Search and Replace

Home Forums Open-Xml-Sdk-JavaScript Search and Replace

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3475
    Eric White
    Keymaster

    Hi,

    Sorry for the long delay in reply. I’ve been heads-down on another very cool, but very difficult Open XML project, to be announced on this blog in the next day or son.

    There are two modules in the Open-Xml-PowerTools that can search and replace text:

    There is another module, DocumentAssembler, which also sounds as though it would meet your needs.

    Unfortunately, all of these modules are written in C#. The process to convert them to JavaScript is a complex, time consuming task. See this blog post for more information. Frankly, I do not know anyone other than myself who has the expertise necessary to do this conversion.

    I believe that there is only one approach that you can and should take, which is to write a web service in C# using Open-Xml-PowerTools, and then consume that web service from your JavaScript code.

    I have never written code that takes this approach, but I believe that it is possible.

    -Eric

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.