fpSetStyleMapping()

This function is used to set the mapping for user-defined styles. Export does not make a distinction between paragraph styles or character styles, but operates under the assumption that each style has a unique name.

Syntax

BOOL pascal _export fpSetStyleMapping( 
    void        *pContext,
    KVStyle     *pStyles,
    int          iStyles,
    BOOL         bCopy);

Arguments

pContext

A pointer returned from fpInit() or fpInitWithLicenseData().

pStyles

A pointer to the developer-assigned instance of KVStyle. See KVStyle . The KVStyle structure defines the elements of a custom style.

iStyles

The number of elements in the pStyles array.

bCopy

If Export is to allocate memory to copy the pStyles array, set this to TRUE. If pStyles remains valid throughout the conversion process, set this to FALSE.

Returns

Discussion