OrdinalSuffix – XpressDox
This function is used internally by XpressDox’s FormatDate function to form dates like March 3rd 2011. The “rd” after the “3” is known as an ordinal suffix. The function used to return this date would
Tutorial videos are available here.
Visit our User Forum for discussions and solutions
This function is used internally by XpressDox’s FormatDate function to form dates like March 3rd 2011. The “rd” after the “3” is known as an ordinal suffix. The function used to return this date would
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
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
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.
«Paragraph()» will split a paragraph into two. Providing the name of a Word style, such as «Paragraph(ThisStyle)» will result in the second paragraph resulting from the split having style ThisStyle applied to it.
Add Heading or Footing text onto the XpressDox interview «PlaceHolder(DummyDataElement)» will create an invisible control on the interview, but will enable Headings or Footings to be attached to that control. This would be used to
Ensuring that plurals are correct on your XpressDox templates Documents / Precedents often have numerous places where constructs such as “is/are” or “child/children” appear, or else the singular is always used. With document assembly, and
Provide a password on an assembled PDF document 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
Please note that with effect from version 11.3, this function has been superseded by the RepeaterPosition function. For backward compatibility the use of PositionOfRepeater is supported, but is discouraged. Consider the commands OnExitSet and OnEnterSet.
The Command Editor empowers the template author by presenting an alphabetic list of all the XpressDox commands, with functionality which provides wizards for completion of the command as well as supplying examples of commands.
PrefixWith This function is particularly useful in the situation where, say, you have an address consisting of data elements AddressLine1, AddressLine2, AddressLine3, and AddressLine4, but that perhaps lines 2, 3 and 4 are empty. Further, you want to present
Problem Statement Suppose you have an application which requires that one or more parties sign a suretyship document, with the requirement that each party signs their own document, not that they all sign the same
The XpressDox Rule command can be used to validate a NINO in a template. You have a template which needs to capture and use a NINO (National Insurance Number) as described in NIM39110 –
Use one template to generate a letter to each of a set of clients whose contact details are saved in a database.
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 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
«ReadOnly()» will cause the named data element (or list of data elements) to be shown in the interview, but their values will not be able to be changed by the user. Simple Usage This is
Sometimes there are just too many choices of paragraph or clause to be included or excluded from a document. Using If and Else commands is inappropriate when there are hundreds of combinations. XpressDox has the powerful InsertDocument command to handle just this situation – where the user running the template chooses which clauses should be inserted.
These two functions work in tandem in those situations where calculations are to be done and the formats of the numbers involved need to be converted from regional-settings compliant format to a format where they
Suppose you have defined a set of folders to contain clauses for insertion using the My Clauses or Shared Clauses features in the XpressDox ribbon. Normally you would group clauses together into folders containing clauses
Remove a table column in your XpressDox template if a certain condition is true. It is almost impossible to think of a way to tell XpressDox to include a column in a Word table using «If(condition)»
The calculation features of XpressDox require that values conform to a specific format. This format permits numeric digits, an optional leading sign (+ or -) and an optional decimal point. Thousands separators, spaces and other such characters are not permitted. The RenderAsNumeric function assists with this.
Repeating information which is not in the form of repeating data in XML (i.e. multiple same-named XML elements) can be handled using the RepeatWhile command. An example of the kind of repeating data that would
With this command the template author can provide a caption on the interview for a repeater. Command structure: «RepeaterCaption(Child,Details of the Children)» Desktop vs browser: In the desktop version of XpressDox, this applies only to repeaters which are
Consider the commands OnExitSet and OnEnterSet. These commands are only executed during the lifetime of the interview, and also contain conditions which need to be evaluated when the user navigates through the interview. Also consider