GetAnchor()

This function gets the file name automatically generated by Export and used for external graphics referenced with <a xmlns:xlink= xlink href=> tags, heading-level table of contents entries, and external files (such as CSS files and revision summary files).

Syntax

BOOL (pascal *GetAnchor)  (
    void                    *pCallingContext,
    KVHTMLXMLAnchorTypeEx          eAnchorTypeEx,
    char                    *pszAnchor,
    int                      cbAnchorMax,
    BYTE                    *pcHTML,
    UINT                     cbHTML);

Arguments

pCallingContext

A pointer that gets passed back to the caller-provided callback functions. This pointer, which can be NULL, is specified as the second parameter of the call to fpConvertStream().

eAnchorType

The anchor type for the output stream. It must be one of the enumerated types defined in KVXMLAnchorType.

pszAnchor

A pointer to the location where the new anchor is stored.

cbAnchorMax

The maximum number of bytes to place in pszAnchor.

pcHTML

This is either NULL or a pointer to one of the following:

  • markup defining the contents of a table of contents entry

  • the external graphic file name

  • the external file name

cbHTML

The number of valid bytes in pcHTML.

Returns

Discussion


_HP_HTML5_bannerTitle.htm