You are here: C++ API > Enumerations > ViewerInfoFlags Enumeration
Close
dtSearch Text Retrieval Engine Programmer's Reference
ViewerInfoFlags Enumeration

File: dtsviewr.h

Syntax
C++
enum ViewerInfoFlags { viIsContainer = 0x01, viIsHypertext = 0x02, viAnsiCharSet = 0x04, viNeedDiskFile = 0x08, viReturnsRtf = 0x10, viUtf8CharSet = 0x20, viReturnsHtml = 0x40, viIs64bit = 0x100, viPriority = 0x200 };
Members
Description
viIsContainer = 0x01
File type is a container (like ZIP
viIsHypertext = 0x02
Obsolete
viAnsiCharSet = 0x04
Text is returned using the Ansi character set
viNeedDiskFile = 0x08
This file parser cannot accept input from a dtsInputStream and requires a disk file
viReturnsRtf = 0x10
File parser can return RTF. A file parser may indicate multiple possible output formats, in which case dtsMakeViewerParams.outputFormat will specify the format requested by the caller.
viUtf8CharSet = 0x20
Text is returned using the UTF-8 encoding
viReturnsHtml = 0x40
File parser can return HTML. A file parser may indicate multiple possible output formats, in which case dtsMakeViewerParams.outputFormat will specify the format requested by the caller.
viIs64bit = 0x100
For container file parsers, indicates that the parser uses 64-bit values for indexInContainer.
viPriority = 0x200
Process this file parser ahead of all other file parsers. The file parser must return dtsMaxConfidence for this to work.

Values for dtsViewerInfo.flags

Copyright (c) 1995-2023 dtSearch Corp. All rights reserved.