We have an application for building document templates in word. In this application (in asp.net)template designers use a word commandbar (named "Diseño de Plantillas") where they choose a field from a group of fields then push a buttom ("Añadir campo") and a text it's inserted:
See attached file.
In the other side we have other applications (in asp.net allways) that generates documents from this templates. The generator assemblies know how search in the database and make the merge.
Applications use office automatization. We want to change it.
We are evaluating aspose. We like it but we have a problem and we want to look for a workaround.
The problem is: How can we continue with the same user behavior? When the user makes a new template, application:
1º Copy a blank template with macros. These macros are used to give logic to the commandbar
2º Adds the commandbar
3º Search for a group of fields to the database based in a criteria
4º Fills the commandsbar with these fields
5º Opens a new internet explorer with this template (word appears)
We dont't know how to fill the commandbar. We think in adding some information to the new template and when word opens fire some macro to "hidratate" the commandbar.
Thanks in advance.