#include <frmlaydt.h>
class CLayoutData |
Public Member Enumerations | |
---|---|
enum | anonymous { EFLargeNumber, EFFontHeightIncreaseFactor, EFMinimumLineDescent, EFBaseLinePosition } |
enum | anonymous { EFHeightForFormattingAllText, EFBodyWidthForNoWrapping } |
enum | anonymous { EFIndividualChars, EFWholeLinesOnly, EFWholeTBoxesOnly, EFDisambiguateEndOfLine } |
enum | TFormatMode { EFScreenMode, EFPrintMode, EFPrintPreviewMode, EFWysiwygMode } |
Layout data: no longer used.
This class provides two enumerations which are used in the Text Views API. Deprecated7.0
Flags used when converting between layout coordinates and document position.
See also: CTextLayout::XyPosToDocPosL() CTextLayout::DocPosToXyPosL()
Enumerator | Value | Description |
---|---|---|
EFIndividualChars | 0 |
Count individual characters and don't treat the end of the line specially. Deprecated6.2 |
EFWholeLinesOnly | 1 |
Only consider the beginnings and ends of whole lines. Only useful in XyToDocPos functions. |
EFWholeTBoxesOnly | EFWholeLinesOnly |
Only consider the beginnings and ends of whole TBoxs so as not to access the document. Only useful in XyToDocPos functions. |
EFDisambiguateEndOfLine | 2 |
Disambiguate the end position of a line from the start position of the next line. If both positions are the same, a position at the end of the line will be invalid, and the position before will be returned instead. |