KVSumInfoType
This enumerated type defines the data type of the metadata field extracted from a document. This enumerated type is defined in kvtypes.h
.
Definition
typedef enum tag_KVSumInfoType
{
KV_String = 0x1,
KV_Int4 = 0x2,
KV_DateTime = 0x3,
KV_ClipBoard = 0x4,
KV_Bool = 0x5,
KV_Unicode = 0x6,
KV_IEEE8 = 0x7,
KV_Other = 0x8
}
KVSumInfoType;
Enumerators
KV_String
|
The value in the metadata field is a string. |
KV_Int4
|
The value in the metadata field is an integer. |
KV_DateTime
|
The value in the metadata field is a date and time. This type is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (Windows FILETIME EPOCH). You might need to convert this value into another format.
The Filter sample program demonstrates how to convert this value to another format. The program translates KV_DATETIME to a UNIX timestamp, that is, the number of seconds since 00:00:00 (UTC), January 1, 1970. It then uses the ctime system library call, which works on UNIX and Windows, to print the date in the following format:
Thu Aug 22 16:19:07 2002
|
KV_ClipBoard
|
Currently not supported. |
KV_Bool
|
The value in the metadata field is a Boolean value. |
KV_Unicode
|
The value in the metadata field is a Unicode string. |
KV_IEEE8
|
The value in the metadata field is an IEEE 8-byte integer. |
KV_Other
|
The value in the metadata field is user-defined. |