CFX WORD2TEXT
 
 
 

CFX_Word2Text tag will convert MS Word .doc file to text. It does not require Word to be installed on the server.
This tag reads the contents of files using the indexing service's filter implementation. The indexing service is installed on Windows 2000/XP machines (and NT machines running the Option Pack).
It lets you read the contents of a variety of files recognized by the indexing service without knowing the internal file format.
You can also extract text from HTML files, this is useful when you want to the text content of files, without html tags.

For Coldfusion 4.5, 5,MX
Windows NT, 2000, XP

USD $ 59

Usage:

CFX_Word2Text requires 2 attributes :
- myfile : absolute path of word or htm files to read
- plaintext : local variable to store extracted text

<cfparam name="plaintext" default="">
<cfx_word2text myfile=#filetoconvert# plaintext ="">

You can use this coldfusion code to get the absolute file folder:

<cfset Myfolder=GetDirectoryFromPath(ExpandPath("*.*"))>
<cfset filetoconvert ="#Myfolde#\Worddocuement.doc">

and call cfx_word2text :

<cfx_word2text myfile=#filetoconvert# plaintext ="">