by Marco Turco » Tue Sep 17, 2013 7:55 am
Hi Otto,
I had a single FRH report with multiple letters inside.
My target was to estract each letter from the report, convert it in a PDF document and send each via email to the recipient.
To do this I have found the following solution:
- using the method oFRH:Calc("Page#") and adding 1 when each letter is added to the report I know which is the report page number where the letter start
- when the report is complete I export it in jpg using the jpeg export method. This method automatically create multiple jpg files with the page number (example tmp.1.jpg,tmp.2.jpg...)
- due the fact I know which is the starting page no. for each letter I also know which is the name of the jpg files related, so using the FWPDF class as Rao suggested I can create a PDF merging the jpg related to the single letters.
Best Regards,
Marco Turco
SOFTWARE XP LLP