enum ConvertFlags { dtsConvertInputIsHtml = 0x0001, dtsConvertSkipHiddenHits = 0x0002, dtsConvertRemoveScripts = 0x0004, dtsConvertInputIsNotHtml = 0x0008, dtsConvertXmlToXml = 0x0040, dtsConvertJustDetectType = 0x0080, dtsConvertGetFromCache = 0x2000, dtsConvertInlineContainer = 0x4000 };
dtsearch.h
|
Members |
Description |
|
dtsConvertInputIsHtml = 0x0001 |
Assume that the input file is HTML for purposes of deciding whether to do HTML-to-HTML highlighting. |
|
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 |
Assume that the input file is not HTML for purposes of deciding whether to do HTML-to-HTML conversion; if the output format is HTML, this forces the dtSearch Engine to convert the file to simple text before adding hit highlight markings. |
|
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. |
Flags to use in dtsFileConvertJob2
|
Copyright (c) 1995-2008 dtSearch Corp. All rights reserved.
|