One method you should look into and I'll post back an example later is checking 
out the  microsoft's filesystem object.  You could possibly call it as a com 
object in coldfusion.  One example of this can actually be found at:

http://livedocs.adobe.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=00001585.htm

Here they create the object and then the work is done using the com object 
towards the bottom with:

<cfset docs = application.mywordobj.documents()>
   <cfset docs.open("c:\CFusionMX7\wwwroot\temp.doc")>
   <cfset converteddoc = application.mywordobj.activedocument>
   <!--- Val(8) works with Word 2000. Use Val(10) for Word 97 --->
   <cfset converteddoc.saveas("c:\CFusionMX7\wwwroot\temp.htm",val(8))>
   <cfset converteddoc.close()>




> > Has anyone done that?  the CFcontent tag is the closest thing pops 
> up, 
> > it does some job but still have tons of garbage.  If possible I 
> prefer 
> > not to use third party bla bla.
> 
> I do not think there is a way to extract text only from a binary Word 
> document without using a third party component such as POI
> http://poi.apache.org/hwpf/ 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298411
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to