|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Exporting coldfusion/html documents to word perfect
Hi,
The title pretty much sums my problem up in general. I will use coldfusion/html to generate reports, and then want to be able to export them to/import them from WordPerfect. I guess if I could save the files to specific locations and then pick them up throught the WordPerfect program later, that might be okay. Input is much appreciated. Mike |
|
#2
|
|||
|
|||
|
You can wrap the page output with <cfsavecontent> which will capture all the output inside the tag set, and then save that captured content to a file using cffile. I would assume that wordperfect will import and render an html document.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
|
#3
|
|||
|
|||
|
Yeah, wordperfect would import. Unfortunately, I am using ColdFusion 4.1.xx, and the <cfsavecontent> didn't come out until version 5 it looks like.
I can try to use executeCommand using Javascript, i guess is my only option -- I will have to practice with it some. Thanks for the input. Quote:
|
|
#4
|
|||
|
|||
|
If you search the Macromedia exchange for "cf_savecontent" you should be able to find a custom tag that mimics the behavor (it is actually extremely simple, just a custom tag that captures everything in the generated content into a variable that it returns to the caller).
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Exporting coldfusion/html documents to word perfect |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|