Code Gear

MSWordDocument 1.32
extract text from MS Word documents

TMSWordDocument () allows to read any Word document directly without OLE automation of MS Word application. MS Word installed is not required at all.
TWordPerfectFile allows to read any Word Perfect (Corel Office) document (without any external library too) with all formattings (fonts/colors/alignments etc).
TWRIFile allows to read any MS Write documentand extract plain text and all formattings.

Direct text extraction allow to process large documents very-very fast. Summary Information is available too.
You may use this component to provide a search engine - for example, find document where some substring is occured or to display summary information and text preview in own file manager.

Complex documents (fast-saved, multi-piece files) are supported.
Localized MS Word versions are supported too - German, French, Dutch, Spanish, Portuguese, Italic, Danish, Swedish, Cyrrilic (Russian, Ukrainian etc), Hebrew and others

Documents from files or streams (BLOB, archive, memory etc) could be parsed for plain text...

Additionally the parsers for Word Perfect and MS Write could convert the original document to html-file or rtf-file.

Download (last updated: October 13, 2008)


  Size HTTP
BDS2009 package v1.33b (Delphi and C++Builder) 0.3Mb msword133d2009.zip
BDS2006/2007 package v1.32b (Delphi and C++Builder) 0.4Mb msword_bds2006.zip
Delphi 2005 package 0.6Mb msword_d2005.zip
Delphi 3/4/5/6/7/C++Builder 3/4/5/6 packages+demo 1.2Mb msword.zip
Compiled demo application 0.2Mb msworddemo.zip

You may use the shareware trial version for 30 days with Delphi IDE running only.
If after 30 days you would like to continue using it, then you should purchase a license.
PS: the trial version allows to read first 30Kb of text.

Price


  License fee is
full suite with sources 50 EUR
standard suite without sources 35 EUR

* you can distribute the own applications absolutely free without any additional hidden fees
** one license allow to work with this component suite on one computer only (one developer). You need as many licenses as many developers will use these components
.*** the site license allow to use these components in company with unlimited number of developers. The license fee is 5*(developer's fee)

Order

You can read about registration and order methods on order page.
Online secure order: RegSoft, USA or ShareIt, Europe

Benefits
Install instructions

1) Unzip it to a created folder
2) Run Delphi or C++Builder IDE
3) Select Install packages... item in Component menu
4) Press Add button and select a package file (SMWordD3.DPL for D3, SMWordXX.BPL for D4/5/6/7 and CB3/4/5/6) in installed directory
5) Press Ok button
6) Enjoy it. In the component palette on SMWord page you can find installed new component

FAQ

You can find answers on frequently asked questions <here>

Activate methods

TMSWordDocument component have an Execute method. Call this method when you specified a correct document to FileName property:
MSWordDocument.FileName := 'C:\My Documents\Data_2002.doc';
MSWordDocument.Execute;

After that you may read parsed text using PlainText property. For example, to load in Memo1 component:
Memo1.Lines.Assign(MSWordDocument.PlainText);

Also you may read SummaryInformation property that have a lot of sub-properties (like Author, LastSaved, PageCount etc)

Activate methods

Also you may read SummaryInformation property that have a lot of sub-properties (like Author, LastSaved, PageCount etc)

MS Word sample TSMWordDocument sample

 


Try the MSWordDocument 1.32 before you buy it.

Borland Software Scalabium Delphi tips

Copyright© 1998-2008, Scalabium Software. All rights reserved.
webmaster@scalabium.com