File Content Extraction 25.1
HTML Export SDK C Programming Guide

# KVHTMLInterfaceEx2

The members of this structure are pointers to the API functions described in HTML Export API Functions.

    typedef void* (pascal *KVHTML_INITEX) (
    		KVMemoryStream *pMemAllocator,
    		char *pszKeyViewDir,
    		char *pszDataFile,
    		KVErrorCode *pError,
    		DWORD dWord);
    	typedef void (pascal *KVHTML_SHUTDOWN)(void*);
    	typedef BOOL (pascal *KVHTML_CONVERT_STREAMEX) (
    		void *pContext,
    		void *pCallingContext,
    		KVInputStream *pInput,
    		KVOutputStream *pOutput,
    		KVHTMLTemplateEx *pTemplatesEx,
    		KVHTMLOptionsEx *pOptionsEx,
    		KVHTMLTOCOptions *pTOCCreateOptions,
    		KVHTMLCallbacksEx *pCallbacksEx,
    		BOOL bIndex,
    		KVErrorCode *pError);
    	typedef char** (pascal *KVHTML_GET_FILE_LIST)(
    		void *pContext,
    		int *pnSize );
    	typedef BOOL (pascal *KVHTML_GET_STREAM_INFO)(
    		void *pContext,
    		KVInputStream *pInput,
    		KVStreamInfo *pStreamInfo );
    	typedef BOOL (pascal *KVHTML_GET_ANCHOREX) (
    		void *pCallingContext,
    		KVHTMLAnchorTypeEx eAnchorTypeEx,
    		char *pszAnchor,
    		int cbAnchorMax,
    		BYTE *pcHTML,
    		UINT cbHTML);
    	typedef BOOL (pascal *KVHTML_INPUTSTREAM_CREATE) (
    		void *pContext,
    		char *pszFileName,
    		KVInputStream *pInput);
    	typedef BOOL (pascal *KVHTML_INPUTSTREAM_FREE) (
    		void *pContext,
    		KVInputStream *pInput);
    	typedef BOOL (pascal *KVHTML_OUTPUTSTREAM_CREATE) (
    		void *pContext,
    		char *pszFileName,
    		KVOutputStream *pOutput );
    	typedef BOOL (pascal *KVHTML_OUTPUTSTREAM_FREE)(
    		void *pContext,
    		KVOutputStream *pOutput );
    	typedef KVLanguageID (pascal *KVHTML_LANGUAGE_ID)(void *pContext);
    	typedef BOOL (pascal *KVHTML_GET_SUMMARY_INFO)(
    		void *pContext,
    		KVInputStream *pInput,
    		KVSummaryInfoEx *pSummary,
    		BOOL bFree );
    	typedef BOOL (pascal *KVHTML_SET_STYLE_MAPPING) (
    		void *pContext,
    		KVStyle *pStyles,
    		int iStyles,
    		BOOL bCopy);
    	typedef KVErrorCode (pascal *KVHTML_GET_KV_ERROR_CODE)(void *);

    	typedef struct tag_KVHTMLInterfaceEx2
    	{
    		KVStructHeader;
    		KVHTML_INITEX fpInit;
    		KVHTML_SHUTDOWN fpShutDown;
    		KVHTML_CONVERT_STREAMEX fpConvertStream;
    		KVHTML_GET_FILE_LIST fpGetConvertFileList;
    		KVHTML_GET_STREAM_INFO fpGetStreamInfo;
    		KVHTML_GET_ANCHOREX fpGetAnchor;
    		KVHTML_INPUTSTREAM_CREATE fpFileToInputStreamCreate;
    		KVHTML_INPUTSTREAM_FREE fpFileToInputStreamFree;
    		KVHTML_OUTPUTSTREAM_CREATE fpFileToOutputStreamCreate;
    		KVHTML_OUTPUTSTREAM_FREE fpFileToOutputStreamFree;
    		KVHTML_GET_SUMMARY_INFO fpGetSummaryInfo;
    		KVHTML_SET_STYLE_MAPPING fpSetStyleMapping;
    		KVHTML_GET_KV_ERROR_CODE     fpGetKvErrorCode;
    	}
    	KVHTMLInterfaceEx2;

Copyright 1997-2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 25.1

Topic Title: KVHTMLInterfaceEx2