|
Best of Support |
|
|
Inserting Word fields into Templates |
|
Issue
Is there a way to include Microsoft Word fields (e.g., simple text fields, bookmarks) in GhostFill Clauses? I thought that I could use them, but a template section with fields copied to a Clause and then inserted into a document loses the fields.
Solution:
Unfortunately native Word formatting such as Bookmarks and Merge fields are not retained in GhostFill Clauses, as these clauses use "generic" RTF format for storing the data.
However, instead of using Clauses to store this text, you can store them as .dot "sub-templates", in which case all formatting is preserved when you perform a %[Templates.Select(...)] of the sub-template at run time (as opposed to a %[Clauses.Select()]).
In this regard note the following:
It is often useful to store these sub-templates under a separate folder (e.g., "~Clauses"), which if preceded by a tilde ("~") is not visible in the User view (only the Developer view).
If you want to facilitate a Clause choice at run time, you can do this by means of a list box, with the result of each list item doing a Templates.Select().
Daniel Todes