TEXTUCSVSETTINGS

typedef struct _tagTextUCsvSettings 
{ 
   L_UINT32 uStructSize; 
   L_BOOL bBullets; 
   L_BOOL bIntelUnicodeByteOrder; 
   L_WCHAR * pszListSeparator; 
   L_BOOL bUseOSListSeparator; 
} TEXTUCSVSETTINGS, * pTEXTUCSVSETTINGS; 

The TEXTUCSVSETTINGS structure provides information about settings for the DOC2_TEXT_UCSV member of the DOC2_FORMATTYPE output format.

Members

uStructSize

Structure size. Set it to sizeof(TEXTUCSVSETTINGS).

bBullets

Specifies whether bullets are in the document. Possible values are:

Value Meaning
TRUE Bullets are in the document.
FALSE Bullets are not in the document.

bIntelUnicodeByteOrder

Enables or disables switching between big-endian and little-endian byte order.

Value Meaning
TRUE Enable switching between big endian and little endian byte order.
FALSE Disable switching between big endian and little endian byte order.

pszListSeparator

Unicode character string that separates cells when CSV is used.

The toolkit allocates memory internally for this member using the Windows GlobalAllocPtr macro. When the structure is no longer needed, be sure to use the Windows GlobalFreePtr macro to free the memory allocated by the toolkit if it contains a valid pointer (not NULL).

bUseOSListSeparator

Specifies whether to use a list separator. Possible values are:

Value Meaning
TRUE Use a list separator.
FALSE Do not use a list separator.

Comments

pTEXTUCSVSETTINGS is a pointer to a TEXTUCSVSETTINGS structure. If the function parameter type is pTEXTUCSVSETTINGS, declare a TEXTUCSVSETTINGS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pTEXTUCSVSETTINGS variable is necessary only if the program requires a pointer.

The structure is used by:

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS OCR Module - OmniPage Engine C API Help