Source code of Windows XP (NT5)
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.

59 lines
1.4 KiB

  1. /************************************************************/
  2. /* Windows Write, Copyright 1985-1992 Microsoft Corporation */
  3. /************************************************************/
  4. /* stcdefs.h -- definitions of styles */
  5. #define usgCharMin 0
  6. #define usgParaMin 11
  7. #define usgSectMin 26
  8. #define usgMax 33
  9. #define usgCharNormal 0
  10. #define stcNormal 0
  11. #define stcParaMin 30
  12. #define stcSectMin 105
  13. #define stcMax 128
  14. #define stcFtnRef 13
  15. #define stcFolio 19
  16. #define stcFtnText 39
  17. #define stcRunningHead 93
  18. #define cchMaxRemark 28
  19. #define ccpSshtEntry (1 + 2 + cchMaxRemark + 1)
  20. #define cchMaxStc 40 /* Length of longest usage-variant pair */
  21. /* Fetch Style Modes */
  22. #define fsmDiffer 0
  23. #define fsmSame 1
  24. #define fsmAny 2
  25. struct CHP *PchpFromStc();
  26. struct PAP *PpapFromStc();
  27. struct SEP *PsepFromStc();
  28. struct SYTB
  29. { /* Style table */
  30. int mpstcbchFprop[stcMax];
  31. CHAR grpchFprop[2]; /* Variable size */
  32. };
  33. #define cwSYTBBase stcMax
  34. struct SYTB **HsytbCreate();
  35. struct AKD
  36. { /* ALT-Key Descriptor */
  37. CHAR ch;
  38. unsigned fMore : 1;
  39. unsigned ustciakd : 7;
  40. };
  41. #define cchAKD (sizeof (struct AKD))
  42. #define cwAKD (cchAKD / sizeof (int))
  43. /* max length of strings used in usages and font names */
  44. #define cchIdstrMax 32
  45.