Bottom justifying an address block

See also "Creating a collapsing text block that mimics Sys_FullAddress field"

  1. Create the variables to hold the address lines



  2. Create a padding variable. It will initially contain the same number of newlines as address variables (5 in this case).


    Newlines can be created by using a "Fixed" parameter, clicking on the "…" ellipsis button, checking the "Keep Line Breaks" checkbox, and entering a new line in the text box


  3. Use the "+" function to add a new line to the end of each of the variables.


    Newlines can be created by using a "Fixed" parameter, clicking on the "" ellipsis button, checking the "Keep Line Breaks" checkbox, and entering a new line in the text box


  4. Use the "Regexp" function to remove a newline from the "PADDING" variable for each of the address variables



  5. Create a mapping group for each pair of commands


  6. Conditionalize each of the groups so they will not execute if the variable is blank




  7. Create an RTF paragraph and insert all the address variables on one line.
    The newlines in the non-blank variables will automatically space out the address lines.

0 Comments

Article is closed for comments.
Powered by Zendesk