How to: using OpenXML to Update Fields in Word
I am working on a prototype where I am assembling word documents using OpenXML from various different documents 开发者_StackOverflow中文版like other word docs.
My question is this: How do you update the fields in those word documents without having word installed.
Fields include numbered sections in each section of the assembled document, updating the table of content field and also formula fields, like =SUM(Above) that should do the work on data inserted into a table during runtime.
These documents will never be opened by end users as word documents since they must be converted to PDF on the server.
Any help would be much appreciated.
精彩评论