The NEW XpressDox Version 14 is now available!

Edit Content
Click on the Edit Content button to edit/add the content.

User Reference

The PreviewHighlight Command

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

Read More »

The GetDataset Function

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

Read More »

The ApplyRulesToDataset Command

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

Read More »

The AppendPDF Command

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

Read More »

The SetDataSourceData Function

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,

Read More »

Configuring standard folders

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.

Read More »

UpdateTableFormattingForPdf – XpressDox

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

Read More »

SetWebCustomButton – XpressDox

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

Read More »

SecondsBetween – XpressDox

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.

Read More »

CultureName – XpressDox

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

Read More »

AlignErrorMessages – XpressDox

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

Read More »

The Log Functions – XpressDox

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

Read More »

InsertHyperlink – XpressDox

XpressDox will insert a Word hyperlink into the assembled document. «InsertHyperlink(‘Our Company Web Site’,’www.abccompany.com’)» will put the text ‘Our Company Web Site’ into the document, underlined and coloured to look similar to a hyperlink inserted manually, and, when the user selects to open the link, will open the web page

Read More »

ForbidThousandsSeparators – XpressDox

Particularly in a situation where users of a template might want to use numeric values input according to different regions, this command can be used by the template author to make sure that template runners may not use the thousands separator when capturing numeric data in the interview.

Read More »

ExpectXSLTFormatNumbers – XpressDox

This is the command that is fundamental to ensuring that XpressDox arithmetic features apply regardless of the format of numbers specified in the Windows Control Panel or chosen by the user. A full explanation of this and related commands will be found in the Cookbook article Arithmetic in XpressDox.

Read More »

The RaiseToPower Function

This function can be used in more advanced arithmetic calculations, such as: If the side of a square is «Side» then the area will be «RaiseToPower(Side,2)». The second parameter does not need to be a constant or an integer, but can be a data element or other expression resulting in

Read More »

The WriteTimeStampToDataSet Command

If you have the command «WriteTimeStampToDataSet(Yes)» in the template, then when the document has been assembled, a data element containing the start and end times and elapsed time of the assembly operation will be written to the dataset.

Read More »

The LastDayInMonth Function

February is always a problem in that its last day depends on whether the year is leap or not.  XpressDox has the LastDayInMonth function to assist with this. All that is required is to provide the function with a date and it will return the last day of the month in

Read More »

IncludePicture

This command enables the insertion of graphics from a file into the merged document. The picture is inserted into the document at the point where the command is encountered, and the size of the image is included in the command, for example: «IncludePicture(images:Logo.jpg,0.8in,0.8in)» or «IncludePicture(images:Logo.jpg,2cm,2cm)» The first measurement is the

Read More »

The HideInsideIV Command

You may have a situation where you have conditions that depend on the value of a data element during the lifetime of the interview.  For example, the condition on an OnExitSet command, or a ReadOnly with a condition. This would be the case, for example, with a data source which

Read More »

The MergeDataSheetTemplate Function

A Data Sheet can be merged for a template, showing just the data elements and their values. The link Data Sheets has a full description of the functionality around data sheet templates. The merging of a data sheet can be controlled by the user who runs the template, by including

Read More »