Can TRichView do this?
Posted: Thu Jun 01, 2006 7:59 pm
I'm tasked with developing a word processor for our application. So far it looks as though TRichView will handle almost all of our needs, but there is one feature I need and I can't see a way of doing this.
A mail merge must be supported. However, the values for the merge fields will not be coming from an underlying field in a database table. What the merge field must contain is a URL that defines, among other things, the table+column names for DB data, or perhaps the full path to an external image|text|Word|etc. file or any other piece of information and it's location. When the field is about to be printed, the URL is retrieved and decoded and the data looked up and fed into the field.
I also must mention that users can create and insert their own URL. Also, and this is very important, the resulting document must be capable of being treated as a Form--where only the merge fields are editable, and when their contents change (for database data at least) the underlying table+column is changed. BTW, we can't do this with embedded Delphi controls on the TRichView as the users will be creating their own documents and Delphi controls are way beyond their scope.
One last thing, any idea on when Headers/Footers and Zoom might be implemented?
Thanks!
rob
A mail merge must be supported. However, the values for the merge fields will not be coming from an underlying field in a database table. What the merge field must contain is a URL that defines, among other things, the table+column names for DB data, or perhaps the full path to an external image|text|Word|etc. file or any other piece of information and it's location. When the field is about to be printed, the URL is retrieved and decoded and the data looked up and fed into the field.
I also must mention that users can create and insert their own URL. Also, and this is very important, the resulting document must be capable of being treated as a Form--where only the merge fields are editable, and when their contents change (for database data at least) the underlying table+column is changed. BTW, we can't do this with embedded Delphi controls on the TRichView as the users will be creating their own documents and Delphi controls are way beyond their scope.
One last thing, any idea on when Headers/Footers and Zoom might be implemented?
Thanks!
rob