You are viewing limited content. For full access, please sign in.

Question

Question

Filling word contract's end blank spaces on a line via workflow

asked on May 15, 2018

Its there a way to dinamicaly fill all the end blank spaces on a line on a fill word activity on workflow?

 

Let me elaborate;

 

I have a form that give me the variables to fill a contract via the fill word activity on workflow, the issue is that as is a legal document it can't content blank spaces on the end of each line until the paragraph ends, so the contract must look something like this:

 

Name: Jhon Doe ----------------------------------------------------------.

Address: 34 st. 42 blv, VA-------------------------------------------------.

 

Names are variable length, Address also and even can have more that one line, and on the second line needs to have the dash simbol until the end of the paragraph, for example:

 

Address: 606-3727 Ullamcorper. Street Roseville NH 11523 606-3727 Ullamcorper. Street Roseville NH 11523

               606-3727 Ullamcorper. Street Roseville NH 11523 ------------------------------------------------------.

 

Its there a way to achieve this?

 

 

 

0 0

Replies

replied on May 16, 2018

I'd use Token Calculator to do something like this:

where the "-----" is a string of dashes equal to the number of characters from "Address:" to the end of the line and "25" stands in for the same number of characters. Basically, pad the value with dashes, then trim it to the right number of characters.

You'd need a calculation like this for every value since the number of characters between the label and the end of the line would change.

You'd also have to check if each value you start with is longer than the line and use it as-is in that case so it flows to the next line instead of getting trimmed to fit one line.

This would only work for one page size in Word. If the user changes the page size later, the text could overflow or not be long enough.

1 0
replied on May 16, 2018

Thanks for your answer, Ill try this and let you know, 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.