dtSearch Text Retrieval Engine Programmer's Reference
dtsExtractionOptions Structure

dtsExtractionOptions (attached to a dtsFileConvertJob2) specifies how embedded images and attachments should be handled.

File: dtsearch.h

struct dtsExtractionOptions { int flags; const char * outputLocation; const char * outputReference; const char * outputFileListName; const char * filenamePrefix; const char * unnamedAttachmentLinkText; const char * allowedExtensions; const char * defaultExtension; };

During conversion, embedded images and attachments can be extracted to a folder, with links to the extracted images and attachments inserted in the output. 

When highlighting hits, flags should be consistent with the behavior of the indexer or hit highlighting will be inconsistent. 

dtsExoExtractAttachments should not be used when highlighting hits because in some cases text is added to the conversion output to provide a location for the link to the extracted attachment. 

dtsExoDoNotConvertAttachments should not be used when highlighting hits because the indexer does convert attachments to text. 

dtsExoExtractImages can be used when highlighting hits.