Can you please give an example of using the BeforePasteText event to:
- remove all character formatting _except_ Bold, Italic, Underline
- force the font of all of the pasted text to a specific face and size
Thanks!
Can you please give an example of using the BeforePasteText event to:
- remove all character formatting _except_ Bold, Italic, Underline
- force the font of all of the pasted text to a specific face and size
Thanks!
Version 6.13 seems to still have this problem. (right-align a merge field that has been replaced with a multi-line value, inside a table cell)
When doing mailmerge into a table, I can't seem to get right-align to work with multi-line replacement values:
for instance:
...
if inspname = 'FROM' then
Contents.StringValue := 'Harry Potter'+chr(10)+
'1234 Wizardly Street'+chr(10)+
'Hogworts, ON, Canada';
...
When the merge field 'FROM' is right-aligned and is inside of a table cell, the lines are not lined up and appear quite ragged.
(WpTools 6.12.1)
That works brilliantly!
I would like to be able to lock or otherwise prevent modification to the first part of the first page of a WPTools document - basically the addressing, date and saluation part of a letter.
This first part will contain one of several pre-defined "templates", each of which contain address, salutation and some merge fields. I would also like to be able to exchange one template for another in an existing document that already has user added text.
What are some approaches I might try for this?