Close
dtSearch Text Retrieval Engine Programmer's Reference
DFileConvertJob Class

Class wrapper around dtsFileConvertJob2; used to convert files to HTML, RTF, or Ansi text.

File: dtsfc.h 

Namespace: dtSearch 

Syntax
C++
class DFileConvertJob : public DOutputBase;
Show:
No members matching the current filter
Show:
No members matching the current filter
Show:
No members matching the current filter
Show:
No members matching the current filter

DFileConvertJob provides an easy way to display retrieved files in a web browser, web browser control, or other viewer with hits highlighted. 

When working with search results, the recommended way to set up DFileConvertJob is to use SetInputItem, which automatically sets up the DFileConvertJob based on data in the search results object. 

If a list of hits is provided, these hits will be highlighted using the BeforeHit and AfterHit markers in the output document. The Header and Footer markers will appear at the beginning and end of the output file. Output can go to a disk file (SetOutputToFile), a memory buffer (SetOutputToString) or a callback function (SetOutputToCallback). Input can come from a disk file (InputFile) or from a memory buffer (SetInputText). 

See the DJobBase base class for execution control functions (Cancel(), GetErrors(), etc.) common to the C++ support classes.

dtSearch::DJobBase | dtSearch::DOutputBase | dtSearch::DFileConvertJob