Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
ConvertFlags Enumeration
Enumerations | Send Feedback

Flags for dtsConvertJob2 (C++) and FileConverter (.NET, Java)

enum ConvertFlags {
  dtsConvertInputIsHtml = 0x0001,
  dtsConvertSkipHiddenHits = 0x0002,
  dtsConvertRemoveScripts = 0x0004,
  dtsConvertInputIsNotHtml = 0x0008,
  dtsConvertExtractOnly = 0x0020,
  dtsConvertXmlToXml = 0x0040,
  dtsConvertJustDetectType = 0x0080,
  dtsConvertGetFromCache = 0x2000,
  dtsConvertInlineContainer = 0x4000,
  dtsConvertAutoUpdateSearch = 0x20000
};
File

dtsearch.h

Members
Members 
Description 
dtsConvertInputIsHtml = 0x0001 
Obsolete 
dtsConvertSkipHiddenHits = 0x0002 
Do not insert BeforeHit and AfterHit marks for a hit that cannot be displayed in HTML because the text is not visible. If this flag is not set, a pair of beforeHit/afterHit tags will be added before the next visible text in the file. 
dtsConvertRemoveScripts = 0x0004 
Remove JavaScript from HTML files when adding hit highlight markings (JavaScript in HTML files can cause errors if displayed outside of the expected context of the script). 
dtsConvertInputIsNotHtml = 0x0008 
Obsolete 
dtsConvertExtractOnly = 0x0020 
When a document is cached in the index, extract it without performing any conversion. 
dtsConvertXmlToXml = 0x0040 
Add hit highlight markings to XML data while retaining the XML format (output format must be it_XML; see Highlighting hits in XML files). 
dtsConvertJustDetectType = 0x0080 
Just detect the file type of the document and return it in detectedTypeId, without generating any output. 
dtsConvertGetFromCache = 0x2000 
Read input file from cached document stored in the index. 
dtsConvertInlineContainer = 0x4000 
If the input is a container (such as a ZIP file), recursively unpack each item in the container, convert it, and append it to the output. dtsConvertInlineContainer is ignored if the input file is not a container, so it has no effect on the processing of .doc, .xls, etc. files. 
dtsConvertAutoUpdateSearch = 0x20000 
Automatically update hit offsets if this document was indexed by an earlier version of dtSearch or was changed since it was last indexed. When using this flag, SetInputItem() must be used to transfer information about the search from SearchResults. Additionally, the SearchResults must be generated from a search and not by calling UrlDecodeItem, because dtSearch needs information from the original search to ensure that highlighting information is correct. 
Group
Links
You are here: C++ API > Enumerations > ConvertFlags Enumeration
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.