Using IFilter in Delphi
I noticed (by looking at my blog statistics) that I get quite a few visitors looking for IFilter and Delphi in google. The reason is that I have a article on using IFilter in C# (http://www.codeproject.com/csharp/IFilter.asp) and that I mention Delphi quite often in this blog.
Anyway, I don’t have that information here, but I can point you to the right place:
Go to http://www.shorterpath.com/develop/spfree/default.asp , and click “download now”. The zip file contains numerous free components from ShorterPath. The SPFilter.pas file contains a function that extracts text from a document using the IFilter interface.
3 Responses to “Using IFilter in Delphi”
maruk
April 5th, 2007
I try to use your IFilter implementation. First of all, your IFilter app doesn’t support the pdf. Secondly, the app totally ignores the line break in the .docx file. All the lines are concatenated. Do you have any solution for this?
Tommy Ng
May 8th, 2008
I have had the same problem–DOCX files do not return any line breaks, so all lines are concatenated. It seems silly to have to use a separate procedure just to extract text from the XML of a DOCX document… any suggestions?
Todd
April 3rd, 2009
where can i get the C++ version IFilter?