House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Talk (CF-Talk)

PDF Form Filling alternate in MS-Word???

Author:
Arsalan Tariq Keen
02/05/2010 01:35 AM

Gerald, could you be more elaborative ...plz.... could you provide some code? I don't get the variables  ... :s Many thanks for your suggestion. > I have done this in the past using RTF format. About 1/2 way into it I > wish > I hadn't. It can be very tedious for large forms. You can try saving the > document in .xml format but Word's XML parser is VERY picky and I never > got > it to work right. Hence the RTF approach. > > Basically I saved the document as RTF with markers where the variables > would > go and filled it in with CF variables and forced it to be downloaded as a > .doc file > > <cfsavecontent variable="MyDoc"> > <cfinclude template="../GoalsObjectivesPrint.txt"> > </cfsavecontent> > >   <cfheader name="Content-Disposition" value="attachment; > filename=grothplan.doc"> >            <cfcontent > type="application/unknown"><cfoutput>#Trim(MyDoc)#</cfoutput><cfsetting > showdebugoutput="false"> > > HTH, > G! > > On Thu, Feb 4, 2010 at 2:36 AM, Arsalan Tariq Keen > <arsalkeen@hotmail.com>wrote: > >> >> Dear Experts, >> >> I want to know is there any way I can auto-fill my word documents with >> specific data at specific locations using ColdFusion. I have done this >> using >> PDF Forms, where I used to add texfields and then later populate them >> using >> CF. Is there anyway to achieve this using CF + MS-Word???? >> >> >> Regards, >> Arsalan >> >> > >


Search cf-talk

March 19, 2010

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31