typedef struct _tagTextFormattedSettings
{
L_UINT32 uStructSize;
DOC2_CODEPAGESETTING CpSetng;
L_WCHAR * pszLineBreak;
L_BOOL bLineBreaks;
L_BOOL bPageBreaks;
L_BOOL bPageMargins;
} TEXTFORMATTEDSETTINGS, * pTEXTFORMATTEDSETTINGS;
The TEXTFORMATTEDSETTINGS structure provides information about settings for the DOC2_FORMATTED_TEXT output format.
Member | Description | |
uStructSize | Structure size. It should be equal to size of(TEXTFORMATTEDSETTINGS). | |
CpSetng | Specifies the code page. For a list of possible values, refer to DOC2_CODEPAGESETTING | |
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. | |
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. |
pTEXTFORMATTEDSETTINGS is a pointer to a TEXTFORMATTEDSETTINGS structure. If the function parameter type is pTEXTFORMATTEDSETTINGS, declare a TEXTFORMATTEDSETTINGS variable, update the structure's fields, and pass the variable's address in the parameter. Declaring a pTEXTFORMATTEDSETTINGS variable is necessary only if the program requires a pointer.
This structure is used with the following functions: