As Peter outlined you basically just use the cfdocument tag and use the filename attribute to save it to the server. This would be used for what cfdocument *can* do however, which would be to convert content generated by the server into one of these formats. Eric's mention of the Office API sounds promising to accomplish this so hopefully he can provide some additional details as to what's involved there.
Matt On 4/20/05, Justin Cook <[EMAIL PROTECTED]> wrote: > Matt, > > If you could elaborate on how I could save dynamically generated FlashPaper > or PDF's that could be presented to the user later, I would appreciate it. > > Justin > > Matt Woodward <[EMAIL PROTECTED]> wrote: > Sure, but I think he's trying to do something a bit different. From > what I understand he's wanting to go from a Word doc or RTF file > that's uploaded by the user and convert that to a PDF or FlashPaper > file, which isn't really what cfdocument does. Peter's right though, > if you want to save a dynamically-generated FlashPaper or PDF document > to the server instead of immediately presenting it to the user, that's > certainly possible. > > Matt > > On 4/20/05, Peter Tilbrook wrote: > > CFDOCUMENT has a "filename" attribute you can use to save the content to a > > file: > > > > > format = "PDF" or "FlashPaper" > > filename = "filename" > > overwrite = "yes" or "no" > > name = "output variable name" > > pagetype = "page type" > > pageheight = "page height in inches" > > pagewidth = "p age width in inches" > > orientation = "portrait/landscape" > > margintop = "number" > > marginbottom = "number" > > marginleft = "number" > > marginright = "number" > > unit = "in" or "cm" > > encryption = "128-bit" or "40-bit" or "none" > > ownerpassword = "password" > > userpassword = "password" > > permissions = "permission list" > > fontembed = "yes" or "no" > > backgroundvisible = "yes" or "no" > > scale = "percentage less than 100"> > > > > HTML and CFML code > > > > > > Peter Tilbrook > > ColdGen Internet Solutions > > Manager, ACT and Region ColdFusion Users Group > > PO Box 2247 > > Queanbeyan, NSW, 2620 > > AUSTRALIA > > > > WWW 1: http://www.coldgen.com/ > > WWW 2: http://www.actcfug.com/ > > Telephone: +61-2-6284-2727 > > E-mail: [EMAIL PROTECTED] > > > > ________________________________ > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > > Of Knipp, Eric > > Sent: Thursday, 21 April 2005 8:09 AM > > To: 'list@dfwcfug.org' > > Subject: RE: Converting doc/rtf files to flash paper or pdf > > > > > > You could do it using the MS office API. There are ways to pull the > various > > properties of a word doc out of it using the ActiveX objects that are part > > of Office. The same is true for RTF. > > > > Eric > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Behalf Of Justin Cook > > Sent: Wednesday, April 20, 2005 4:58 PM > > To: list@dfwcfug.org > > Subject: Converting doc/rtf files to flash paper or pdf > > > > In our current project, we need to be able to allow users to upload > > *.doc or *.rtf files and then we were wanting to display thos e using > > cfdocument and converting those into either flash paper or pdf's. Is this > > even possible? If so, how can you do it? And if not, does anyone have an > > idea how this can be done? > > Thanks, > > Justin > > > > ________________________________ > > > > CONFIDENTIALITY NOTICE: The information contained in this e-mail and > > attached document(s) may contain confidential information that is intended > > only for the addressee(s). If you are not the intended recipient, you are > > hereby advised that any disclosure, copying, distribution or the taking of > > any action in reliance upon the information is prohibited. If you have > > received this e-mail in error, please immediately notify the sender and > > delete it from your system. > > > > > ---------------------------------------------------------- > > To post, send email to list@dfwcfug.org > > To unsubscribe: > > http://www.dfwcfug.org/form_MemberUnsubscribe.cfm > > To subscribe: > > http://www.dfwcfug.org/form_MemberRegistration.cfm > > > > > > > -- > Matt Woodward > [EMAIL PROTECTED] > http://www.mattwoodward.com > ---------------------------------------------------------- > To post, send email to list@dfwcfug.org > To unsubscribe: > http://www.dfwcfug.org/form_MemberUnsubscribe.cfm > To subscribe: > http://www.dfwcfug.org/form_MemberRegistration.cfm > > > -- Matt Woodward [EMAIL PROTECTED] http://www.mattwoodward.com ---------------------------------------------------------- To post, send email to list@dfwcfug.org To unsubscribe: http://www.dfwcfug.org/form_MemberUnsubscribe.cfm To subscribe: http://www.dfwcfug.org/form_MemberRegistration.cfm