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.
BOOL pascal _export fpSetStyleMapping( void *pContext, KVStyle *pStyles, int iStyles, BOOL bCopy);
|
A pointer returned from fpInit() or fpInitWithLicenseData(). |
|
A pointer to the developer-assigned instance of |
|
The number of elements in the |
|
If Export is to allocate memory to copy the |
If the call is successful, the return value is TRUE
.
If this call is unsuccessful, the return value is FALSE
.
Paragraph styles are presently implemented only for documents in Microsoft Word 97-2003 (DOC), RTF, Folio Flat files, WordPro, and WordPerfect 6.x.
This function runs in-process or out of process. See Convert Files Out of Process.
When converting out of process, this function must be called after the call to KVXMLStartOOPSession()
and before the call to KVXMLEndOOPSession()
.
After this API function is called, the styles are valid until fpShutDown()
is called, or until this function is called again with a new style or NULL
.
|