KVHTMLHighlight
This structure defines the search terms that are found and highlighted in the HTML output. It is initialized by calling KVHTMLSetHighlight()
and is defined in kvtypes.h
. See KVHTMLSetHighlight().
typedef struct tag_KVHTMLHighlight { KVStructHeader; char **ppHLTerms; int nSize; KVCharset eCharset; char *pHLStart; char *pHLEnd; BOOL bMatchCase; int nReserved; void *pReserved; } KVHTMLHighlight;
Member Descriptions
|
The KeyView version of the structure. See KVStructHead. |
|
An array of terms to be found and highlighted in the HTML output. |
|
The number of terms to be found and highlighted in the HTML output. |
|
The character set of the terms. The available character sets are enumerated in |
|
The start tag that specifies the text attributes used to highlight the text string. NOTE: If you output images as SVG, KeyView uses this tag to highlight the terms found in images, so you must make sure that the tag works as expected. In particular, CSS that applies a style to a class does not affect a tag with that class that is inside an SVG. For example:
|
|
The end tag used to close the highlighting start tag. The end tag for the example above would be |
|
This Boolean applies only to searches on documents with a target character set of 1252. If this Boolean is set, the text search is case sensitive. By default, the text search is case insensitive. |
|
Reserved for future use. |
|
Reserved for future use. |