Performing calculations
XpressDox can perform arithmetic calculations on data element values. This is done in an intuitive way by simply typing in the calculation.
XpressDox can perform arithmetic calculations on data element values. This is done in an intuitive way by simply typing in the calculation.
Existing users of XpressDox: XpressDox has vanished from my Word toolbar (for existing users) If XpressDox was showing in your toolbar previously, but is no longer doing so, Word may have disabled the XpressDox add–in. This sometimes happens with Word or Windows updates, or if Word experiences a technical problem,
Whether you are simply looking for a better–priced alternative to HotDocs, or maybe you want to run your Desktop templates on the Web, XpressDox is a smart choice. Join the growing number of firms who are looking for better value for money! XpressDox is as powerful as HotDocs with over
Usually performing calculations with XpressDox is straightforward. There are some issues to be born in mind, and this Cookbook recipe explores these.
The interview in the browser can vary in height depending on the existence of tabs and other factors. The template author can control the minimum height of the web interview with the SetWebInterviewMinimumHeight command. «SetWebInterviewMinimumHeight(200)» This will set the minimum height of the web interview to 200 pixels. This feature
When entering dates for a contract, it is important to get them right during the interview. It might be possible to control this via the Rule command, but often it is very useful to reflect this to the user as they are typing into the interview. For the purposes of
There are times when you have a repeater but you do not want the user to be able to add more than a certain number of instances of the repeater in the interview. You could use a Rule command, but then the user will only get the message once they
This function gives you the ability to provide a user password to a PDF that is created by running a template. In other words, a person wanting to open the PDF file produced will have to supply the password to the application (e.g. Adobe Acrobat) which is being used to
If you want to compare two dates, then typically you want to know whether one date is later than another. The default way that dates are stored in XpressDox is in the format yyyy-MM-dd (e.g. 2018-05-02), but can also be understood by XpressDox in other formats, like “May 2, 2018”.
This is similar to The PaintInsertedText Command, but applies only during the Preview which is displayed during the the progress of the interview. This command takes one argument, which is a colour. For example «PreviewHighlight(Green)» This will color all text inserted by XpressDox fillpoints as green in the previews displayed
You are the site administrator for a large legal firm, and you have set up a number of XpressDox applications. Each application has its own set of templates which are located in a folder for each application. Say for example there is an Estates application, a Litigation application and a
This function was introduced to enable the entire dataset to be saved as a BLOB in a data base. Typically, this function will be used in the context of a SetDataSourceData function, something like this: «SetDataSourceData(‘StagingDataSource’,Guid(), ‘XMLBlob’,GetDataset(), ‘Description’,Name)» In the above, the value of the Guid() function would be used as
This command is used to enable the “Save Local” feature in the browser interview.
It may be that all, or at least some, of the data set to be used to assemble a document comes from some place other than the interview. For example, it might be that the data are in a data base, or retrieved from a web service or some other
AppendPDF enables the user, and also the template author, to choose one or more PDF files which will be appended to the document assembled by the template in which the command appears. The SaveAsPDF(Yes) command is issued implicitly. The entire output document will always be a PDF. Example – user
Values in databases can be changed by the user in the interview using the various “Save” options as described in Control how the user can change data source data. The template author can also instruct XpressDox to modify values in a data base, using the SetDataSourceData function. As an example,
If you need to get data from a data source and have those data available in an interview (and hence in the data set), then the commands IncludeDataSourceData and ChooseFromDataSource would be what you would use. If, while authoring the template, you come to a point where you need one
The Document Save Folder will be the default folder to which documents produced by running a template will be saved. When a template has been run, the user will be asked to provide a name for the document via a Save File dialog, and at that stage will be able to change the place where the document is saved.
Sometimes, not in every case, when using the RemoveColumnIf command, in conjunction with The SaveAsPDF Command, it can turn out the the PDF renderer does not render the table where the column has been removed correctly. The UpdateTableFormattingForPdf function will usually fix this table rendering. Suppose you have a command
As its name implies, this command is used to create a custom button on the Web interview. The template author can use this, and then, when the template is integrated into a client system, the button can be used by the web designer to implement custom behaviour in the web
The fillpoint «SecondsBetween(Later,Earlier)» will return the number of seconds between the value in data element Later, and that in Earlier. For example: The race started at «ChooseUsingTimePicker(StartTime)»«FormatTime(StartTime,’hh mm tt’)» and ended at «ChooseUsingTimePicker(EndTime)»«FormatTime(EndTime,’hh mm tt’)». The elapsed time was «SecondsBetween(EndTime,StartTime)» seconds, which was not a new record.
The command «SaveAsRTF(Yes)» is used to instruct XpressDox to save the assembled document in RTF format.
This function can be used to take different action depending on the “culture” active at the time. All possible cultures are defined in Table of Language Culture Names, Codes, and ISO Values. The function has two possible arguments, viz. “Input” (or just “In”) and “Output” (or “Out”) «CultureName(‘Input’)» will return
This command allows the template author for Web interviews to specify where the error messages for data elements in the interview should appear. Command structure: «AlignErrorMessages(Top)» Examples of usage: «AlignErrorMessages(Top)» will cause any error messages to be displayed above the relevant data element in the Web interview, and the
There are three similar functions which can be used to debug a template. Log This takes one argument and would look something like: «Log(Reached the paragraph after A)» This creates a log message in a file called LogXpressDox.txt which will be written to the My Documents folder of the user
Copyright ©2023 XpressDox. All Rights Reserved. | Website By Hello Fascination