Re: Best option for writing to MS Word



Hello,

Mike, you have a couple of components that look interesting.
Thanks for your interest

I am looking at stripping out the plain text (not formulas or formatting)
from XLS, RTF, DBF, Word, PPT, PDF (I can get this from Gnostice) and
as many others as possible. Can your components be used for this?
Yes.
Except PPT (this engine is in development) and PDF

I am not too interested in converting the XLS to a Dataset but more to
plain text.
SMImport is more than loader to dataset. There are read-engines for all
these formats which you may use as you need. For example, to get the plain
text from shet in xls-workbook:
xls := TSMExcel.Create(nil);
try
xls.LoadFromFile('c:\aaa.xls');
strPlainText := xls.Sheets.Spreadsheet(0).PlainText
finally
xls.Free
end

In same manner you may get the text from DBF, Paradox, QuattroPro, Lotus,
Clarion etc

You also mention TWordPerfectFile, is this included with
the Word Component?
Yes, this component is a part of SMWord suite. Also there is the reader for
MS Write documents

--
With best regards, Mike Shkolnik
Scalabium Software
http://www.scalabium.com
mshkolnik@xxxxxxxxxxxxx


.


Quantcast