mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
994 B
41 lines
994 B
#ifndef LSLINFO_DEFINED
|
|
#define LSLINFO_DEFINED
|
|
|
|
#include "lsdefs.h"
|
|
#include "endres.h"
|
|
|
|
typedef struct
|
|
{
|
|
long dvpAscent;
|
|
long dvrAscent;
|
|
long dvpDescent;
|
|
long dvrDescent;
|
|
|
|
long dvpMultiLineHeight;
|
|
long dvrMultiLineHeight;
|
|
|
|
long dvpAscentAutoNumber;
|
|
long dvrAscentAutoNumber;
|
|
long dvpDescentAutoNumber;
|
|
long dvrDescentAutoNumber;
|
|
|
|
LSCP cpLim; /* First cp which is NOT on this line */
|
|
LSDCP dcpDepend; /* # of chars wrapped to next line */
|
|
LSCP cpFirstVis; /* First actual (not hidden) character in a line*/
|
|
/* allows client to use character properties from the correct paragraph */
|
|
|
|
|
|
ENDRES endr; /* How line ended */
|
|
BOOL fAdvanced;
|
|
long vaAdvance; /* Valid iff (fAdvanced != 0) */
|
|
|
|
BOOL fFirstLineInPara;
|
|
BOOL fTabInMarginExLine;
|
|
BOOL fForcedBreak;
|
|
|
|
DWORD nDepthFormatLineMax; /* Formatting depth of the line (1--for plain line) */
|
|
|
|
UINT EffectsFlags; /* set of client defined special effects flags */
|
|
} LSLINFO;
|
|
|
|
#endif /* !LSLINFO_DEFINED */
|