An example of processing document templates having both text fields
(including multiline ones) and IF commands.
IF commands allow to exclude some part of text on condition (comparing field value with string constant)
[Demo] Simple scripting
-
Sergey Tkachenko
- Site Admin
- Posts: 17970
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
[Demo] Simple scripting
Last edited by Sergey Tkachenko on Thu Dec 11, 2008 2:53 pm, edited 1 time in total.
-
Sergey Tkachenko
- Site Admin
- Posts: 17970
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Improved.
In this version, field codes inside field values are ignored.
There is also a fix (see the comments in Unit1.pas).
I decided to leave the both versions available, but I recommend to use this one.
In this version, field codes inside field values are ignored.
There is also a fix (see the comments in Unit1.pas).
I decided to leave the both versions available, but I recommend to use this one.
Last edited by Sergey Tkachenko on Sat Oct 01, 2011 8:42 am, edited 3 times in total.
-
Sergey Tkachenko
- Site Admin
- Posts: 17970
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: