Coldfusion Word to PDF conversion
Posted on 2013-01-18
I currently have a CF pgm that prompts for certain fields using a form and these form fields are embedded within a RTF variable (after the RTF variable has been created with a cffile read function) by replacing certain field containers. e.g. %NAME% or %ADDRESS%.
After replacing these containers in the RTF variable, the RTF is opened for the user in Word using the below functions;
<cfheader name="Content-Disposition" value="#cname#">
This works like a charm but now they are requesting to open the rtf variable in PDF so no changes can be made to the document.
Is this possible?