KeyView 24.1

# KVXMLCallbacks

This structure provides all callbacks that can result from a call to `fpConvertStream()` or `KVXMLConvertFile()`. See fpConvertStream() and KVXMLConvertFile(). Any and all of the function pointers can be `NULL`.

    typedef BOOL (pascal *KVXMLCB_CONTINUE)(
        void                *pcallingContext,
        int                 nPercentDone);
    typedef BOOL (pascal *KVXMLCB_GETANCHOR)(
        void                *pCallingContext,
        KVXMLAnchorType     eAnchorType,
        char                *pszAnchor,
        Int                 cbAnchorMax,
        BYTE                *pcHTML,
        UINT                cbHTML);
    typedef BOOL (pascal *KVXMLCB_GETAUXOUTPUT)(
        void                *pCallingContext,
        KVXMLAnchorType     eAnchorType,
        char                *pszAnchor,
        KVOutputStream      *pNewOutput);
    typedef BOOL (pascal *KVXMLCB_USERCB) (
        void                *pCallingContext,
        char                *psUserCBid,
        KVOutputStream      *pOutput,
        void                *pReserved);
    typedef struct tag_KVXMLCallbacks
    {
        KVXMLCB_CONTINUE        fpContinue;
        KVXMLCB_GETANCHOR       fpGetAnchor;
        KVXMLCB_GETAUXOUTPUT    fpGetAuxOutput;
        KVXMLCB_USERCB          fpUserCB;
    }
    KVXMLCallbacks;

## Member Descriptions

- The members of this structure are function pointers to the functions described in XML Export API Callback Functions.

- If `fpGetAuxOutput()` is `NULL`, the `pszDefaultOutputDirectory` member of the instance of `KVXMLOptions` is used as the base storage location for auxiliary output files. If `pszDefaultOutputDirectory` is also `NULL`, auxiliary files are placed in the current working directory. See KVXMLOptions.

Copyright 1997-2023 Open Text
Version 24.1 | Last updated December 2023

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: IDOL KeyView 24.1

Topic Title: KVXMLCallbacks