I am currently working on a development team trying to come up with an application that can accept an Open XML Word document, destroy XML, and somehow come up with on-the-fly user interface screens that can be used to enter data.
I use the Open XML SDK, but my task was to come up with a very general way of presenting the document, since the SDK requires that the static representation (call it a template or mask) be defined in the code, which can then be used to clone the document programmatically.
As an example, in order to drop a specific document, I have to go into the code and define the theme, fonts, paragraph style, etc. words doc so that the program โknowsโ how to trim it. If the doc style changes, then the program should also change.
My question is, is there a way to do this in general so that I donโt have to worry about the style used to compile the dictionary document? Has anyone tried to generate screens / data entry fields from a Word document before.
Any help would be appreciated.
Rufus source
share