TEXTUFORMATTEDSETTINGS

typedef struct _tagTextUFormattedSettings 
{ 
   L_UINT32 uStructSize; 
   L_BOOL bIntelUnicodeByteOrder; 
   L_WCHAR * pszLineBreak; 
   L_BOOL bLineBreaks; 
   L_BOOL bPageBreaks; 
   L_BOOL bPageMargins; 
} TEXTUFORMATTEDSETTINGS, * pTEXTUFORMATTEDSETTINGS; 

The TEXTUFORMATTEDSETTINGS structure provides information about settings for the DOC2_UFORMATTED_TEXT member of the DOC2_FORMATTYPE output format.

Members

uStructSize

Structure size. Set it to sizeof(UTEXTLINEBREAKSSETTINGS).

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.

pszLineBreak

Unicode character string that contains the characters to use when inserting Line breaks.

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).

bLineBreaks

Specifies whether to insert line breaks.

Value Meaning
TRUE Insert line breaks.
FALSE Do not insert line breaks.

bPageBreaks

Specifies whether to use page breaks. Possible values are:

Value Meaning
TRUE Use page breaks.
FALSE Do not use page breaks.

bPageMargins

Specifies whether to retain page margins or use default margins. Possible values are:

Value Meaning
TRUE Retain page margins.
FALSE Use default margins.

Comments

pTEXTUFORMATTEDSETTINGS is a pointer to a TEXTUFORMATTEDSETTINGS structure. If the function parameter type is pTEXTUFORMATTEDSETTINGS, declare a TEXTUFORMATTEDSETTINGS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pTEXTUFORMATTEDSETTINGS 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