I need to allow my clients to generate documents (DOC, PDF, etc) from a DELPHI application I just released, based on information and data they have in the database.
The solution should be templates based. They must be able to edit and change the basic text and place to place replaceable “codes”
The generator must replace the code be database data and selected images, and export or print the result.
Is there a tool for this?
I need to enable my client to generate their business proposal from my software. This is only text with photos, and simple replaceable codes.
But the photos are all over the text, they are needed to better illustrate the proposal.
But I need to allow the user to create or change the templates. This is where fastreport does not work. I don’t want to install or explain the client how to create reports in the designer.
I think you are looking for some report generator, as they are called. FastReport is the one that comes to my mind - they have PDF and RTF generation for sure, and probably now have more.
Even when I use FastReports myself, ReportBuilder worths a mention here.
Another approach (I've used it like that), is to use mail merge in Word. Works great.
Easy solution: Save a .csv file, and trigger a mail merge with a certain word template via word's COM interface. Instead of a .csv file you can also set up a data connection via odbc, but that's harder to install, and more likely to fail.
Advantages of mail merging:
You need a report library like FastReports, RAVE, Greatis Print Suite, etc.. See this discussion: The best reporting component for Delphi ?
You're looking for an Report Generator. You probably have one bundled with your Delphi IDE, can't tell you which one because they bundled different report generators over time.
Any of those can give you grate printed and PDF reports. I think they're all capable of generating DOC "exports", but the quality will vary.