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.

132 lines
4.0 KiB

  1. /************************************************************/
  2. /* Windows Write, Copyright 1985-1992 Microsoft Corporation */
  3. /************************************************************/
  4. /* ****************************************************************************
  5. **
  6. ** COPYRIGHT (C) 1985 MICROSOFT
  7. **
  8. ** ****************************************************************************
  9. *
  10. * Module: globdefs.h - text for static arrays and other uses. Change this
  11. * module when internationalizing.
  12. *
  13. * Functions included: none
  14. *
  15. **
  16. ** REVISIONS
  17. **
  18. ** Date Who Rel Ver Remarks
  19. ** 10/20/89 fgd Win 3.0. Some defines have been moved to write.rc
  20. ** 07/08/86 yy addition of reverse string for unit parsing.
  21. ** 11/20/85 bz initial version
  22. **
  23. ** ***************************************************************************/
  24. /* NOTE NOTE NOTE
  25. Win 3.0. In order to easy the localization of Write, some string defines
  26. have been removed from here and placed into write.rc
  27. */
  28. #define utDefault utCm /* used to set utCur - may be utInch or utCm */
  29. #define vzaTabDfltDef (czaInch / 2) /* width of default tab in twips */
  30. /* note that czaCm is also available */
  31. #define szExtWordDocDef ".DOC"
  32. #define szExtWordBakDef ".BAK"
  33. #define szExtDrvDef ".drv"
  34. #define szExtGlsDef ".GLS"
  35. #ifdef KINTL
  36. #define szExtDocDef ".WRI" /* this and next extension should be the same */
  37. #define szExtSearchDef "\\*.WRI" /* store default search spec */
  38. #define szExtBackupDef ".BKP"
  39. #else
  40. #define szExtDocDef ".DOC" /* This and next extension should be the same */
  41. #define szExtSearchDef "\\*.DOC" /* Store default search spec. */
  42. #define szExtBackupDef ".BAK"
  43. #endif /* if-else-def INTL */
  44. #define szWriteProductDef "MSWrite" /* WIN.INI: our app entry */
  45. #define szFontEntryDef "Fontx" /* WIN.INI: our font list */
  46. #define szSepNameDef " - " /* Separates AppName from file name in header */
  47. #ifdef STYLES
  48. #define szSshtEmpty "NORMAL.STY"
  49. #endif /* STYLES */
  50. /* Strings for parsing the user profile. */
  51. #define szWindowsDef "windows"
  52. #define szDeviceDef "Device"
  53. #define szDevicesDef "devices"
  54. #define szBackupDef "Backup"
  55. #if defined(JAPAN) || defined(KOREA) //Win3.1J
  56. #define szWordWrapDef "WordWrap"
  57. #endif
  58. #if defined(JAPAN) & defined(IME_HIDDEN) //IME3.1J
  59. #define szImeHiddenDef "IMEHidden"
  60. #endif
  61. /* used to get decimal point character from user profile */
  62. #define szIntlDef "intl"
  63. #define szsDecimalDef "sDecimal"
  64. #define szsDecimalDefaultDef "."
  65. #define sziCountryDef "iCountry"
  66. /* see msdos manual for meaning of codes */
  67. /* Strings for our window classes (MUST BE < 39 CHARS) */
  68. #define szParentClassDef "MSWRITE_MENU"
  69. #define szDocClassDef "MSWRITE_DOC"
  70. #define szRulerClassDef "MSWRITE_RULER"
  71. #define szPageInfoClassDef "MSWRITE_PAGEINFO"
  72. #ifdef ONLINEHELP
  73. #define szHelpDocClassDef "MSWRITE_HELPDOC"
  74. #endif
  75. /* used in fileutil.c - name of temp file */
  76. #ifdef INTL
  77. #define szMWTempDef "~WRI0000.TMP"
  78. #else
  79. #define szMWTempDef "~DOC0000.TMP"
  80. #endif
  81. /* used in fontenum.c */
  82. #define szSystemDef "System"
  83. #ifdef DBCS_VERT /* was in JAPAN, changed it to DBCS */
  84. // Vertical orientation systemfont facename [yutakan:08/09/91]
  85. #define szAtSystemDef "@System"
  86. #endif
  87. /* used in initwin.c */
  88. #define szMw_acctbDef "mw_acctb"
  89. #define szNullPortDef "NullPort"
  90. #define szMwloresDef "mwlores"
  91. #define szMwhiresDef "mwhires"
  92. #define szMw_iconDef "mw_icon"
  93. #define szMw_menuDef "mw_menu"
  94. #define szScrollBarDef "ScrollBar"
  95. /* used in pictdrag.c */
  96. #define szPmsCurDef "pmscur"
  97. /* used in screen.c - available font family names */
  98. #define szModernDef "Modern"
  99. #define szRomanDef "Roman"
  100. #define szSwissDef "Swiss"
  101. #define szScriptDef "Script"
  102. #define szDecorativeDef "Decorative"
  103. /* used in util2.c abbreviations for units */