Leaked source code of windows server 2003
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.

56 lines
1.3 KiB

  1. #ifndef LSCHP_DEFINED
  2. #define LSCHP_DEFINED
  3. #include "lsdefs.h"
  4. #include "plschp.h"
  5. #define idObjTextChp ((WORD)~0) /* idObj for FetchRun to use */
  6. /* when returning a text run */
  7. /* (Internal id will differ.) */
  8. /* LS expects that for GlyphBased runs the following flags are set to FALSE:
  9. fApplyKern
  10. fModWidthSpace
  11. fModWidthPairs
  12. fCompressTable
  13. */
  14. struct lschp /* Character properties */
  15. {
  16. WORD idObj; /* Object type */
  17. BYTE dcpMaxContext;
  18. BYTE EffectsFlags;
  19. /* Property flags */
  20. UINT fApplyKern : 1;
  21. UINT fModWidthOnRun:1;
  22. UINT fModWidthSpace:1;
  23. UINT fModWidthPairs:1;
  24. UINT fCompressOnRun:1;
  25. UINT fCompressSpace:1;
  26. UINT fCompressTable:1;
  27. UINT fExpandOnRun:1;
  28. UINT fExpandSpace:1;
  29. UINT fExpandTable:1;
  30. UINT fGlyphBased : 1;
  31. UINT pad1:5;
  32. UINT fInvisible : 1;
  33. UINT fUnderline : 1;
  34. UINT fStrike : 1;
  35. UINT fShade : 1;
  36. UINT fBorder : 1;
  37. UINT fHyphen : 1; /* Hyphenation opportunity (YSR info) */
  38. UINT fCheckForReplaceChar : 1; /* Activate the replace char mechanizm for Yen */
  39. UINT pad2:9;
  40. /* for dvpPos values, */
  41. /* pos => raised, neg => lowered, */
  42. long dvpPos;
  43. };
  44. typedef struct lschp LSCHP;
  45. #endif /* !LSCHP_DEFINED */