KVHTMLCallbacksEx
This structure provides all callbacks that can result from a call to fpConvertStream() or KVHTMLConvertFile(). See fpConvertStream() and KVHTMLConvertFile(). Any and all of the function pointers can be NULL.
typedef BOOL (pascal *KVHTMLCB_CONTINUE)(
void *pcallingContext,
int nPercentDone);
typedef BOOL (pascal *KVHTMLCB_GETANCHOREX)(
void *pCallingContext,
KVHTMLAnchorTypeEx eAnchorTypeEx,
char *pszAnchor,
int cbAnchorMax,
BYTE *pcHTML,
UINT cbHTML);
typedef BOOL (pascal *KVHTMLCB_GETAUXOUTPUTEX) (
void *pCallingContext,
KVHTMLAnchorTypeEx eAnchorTypeEx,
char *pszAnchor,
KVOutputStream *pNewOutput);
typedef BOOL (pascal *KVHTMLCB_USERCBEX) (
void *pCallingContext,
char *psUserCBid,
KVOutputStream *pOutput,
void *pReserved);
typedef struct tag_KVHTMLCallbacksEx
{
KVHTMLCB_CONTINUE Continue;
KVHTMLCB_GETANCHOREX GetAnchor;
KVHTMLCB_GETAUXOUTPUTEX GetAuxOutput;
KVHTMLCB_USERCBEX UserCB;
}
KVHTMLCallbacksEx;
Member Descriptions
-
The members of this structure are pointers to the functions described in HTML Export API Callback Functions.
-
If
GetAuxOutput()isNULL, thepszDefaultOutputDirectorymember of the instance ofKVHTMLOptionsExis used as the base storage location for auxiliary output files. IfpszDefaultOutputDirectoryis alsoNULL, auxiliary files are placed in the current working directory. See KVHTMLOptionsEx.