UTEXTLINEBREAKSSETTINGS

typedef struct _tagUTextLineBreaksSettings 
{ 
   L_UINT32 uStructSize; 
   L_BOOL bBullets; 
   L_BOOL bConvertTabs; 
   L_BOOL bIntelUnicodeByteOrder; 
   L_WCHAR * pszLineBreak; 
   L_BOOL bLineBreaks; 
   L_WCHAR * pszPageBreak; 
   L_BOOL bPageBreaks; 
} UTEXTLINEBREAKSSETTINGS, * pUTEXTLINEBREAKSSETTINGS; 

The UTEXTLINEBREAKSSETTINGS structure provides information about settings for the DOC2_UTEXT_LINEBREAKS output format.

Member Description
uStructSize Structure size. It should be equal to size of(UTEXTLINEBREAKSSETTINGS).
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.
bConvertTabs Specifies whether to convert tabs. Possible values are:
  Value Meaning
  TRUE Convert tabs.
  FALSE Do not convert tabs.
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 will allocate memory internally for this member using the Windows GlobalAllocPtr macro. After you are done using this structure, you must 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.
pszPageBreak Unicode character string that contains the characters that are used for page breaks.
The toolkit will allocate memory internally for this member using the Windows GlobalAllocPtr macro. After you are done using this structure, you must use the Windows GlobalFreePtr macro to free the memory allocated by the toolkit if it contains a valid pointer (not NULL).
bPageBreaks Specifies whether to use page breaks. Possible values are:
  Value Meaning
  TRUE Use page breaks.
  FALSE Do not use page breaks.

Comments

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

This structure is used with the following functions:

L_Doc2GetOutputFormatSettings

L_Doc2SetOutputFormatSettings

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Professional OCR C API Help