Index

Related topics:

PaintInsertedText

Tutorial Videos

Tutorial videos are available here.

Knowledge Base

Visit our User Forum for discussions & solutions

PaintInsertedText – XpressDox

The command searches the template for any fillpoint which directly inserts text into the assembled document, and “paints” it with the specified color.

 

Command structure:

«PaintInsertedText(Yes,Blue)»

 

Examples of usage:

«PaintInsertedText(Yes,Red)»
«Owner» (“Owner”) agrees to rent the property situated at «Property_Address» to «Renter» (“Renter”) for the term of this Lease Agreement.

Depending on the values entered by the user in the interview, the assembled sentence would be:

 

Trouble shooting of templates can be enhanced by using this command, and in addition in the XpressDox ribbon menu Common Tools, is an entry called Find Inserted Text.  Pressing this repeatedly will cause the Word selection to cycle through all the text colored by this command.

Allow the user to choose whether to paint the inserted text or not

Although this command is obviously useful for the template author to use for trouble shooting, it can also be useful for the end user. For example, the user running a contract template might like to see easily what text has been inserted as a result of the answers provided in the interview. And then when they are happy, produce a final assembly without the different color.

If the end user were a template author, they could just remove the command (or disable it with «PaintInsertedText(No,Red)»).

But for a user who is not a template author, modifying the template is not an option. However, the template author can make it possible for the end user to decide whether or not to highlight the inserted text.

To illustrate how the template author could give the user the option to paint the inserted text, or not, this code snippet could be used:

«ChooseUsingCheckBox(Paint_Text,Black,Blue)»
«Caption(Paint_Text,What color would you like inserted answers to appear in the assembled document?)»
«PaintInsertedText(Yes,Blue,Paint_Text = 'Blue')»
«Owner» (“Owner”) agrees to rent the property ….

 

Watch a video on PaintInsertedText and PreviewHighlight: