// AbiWord // Copyright (C) 1998,1999 AbiSource, Inc. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA // 02111-1307, USA. ////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////// // THIS FILE IS INCLUDED BY .cpp AND .rc FILES. // // *** RC.exe IS BRAIN-DAMAGED. GIVING THIS FILE AN .rc2 // *** EXTENSION MAKES #INCLUDING THIS FILE FROM Win32Main.rc // *** WORK -- IF THE SUFFIX IS .h ONLY THE #DEFINES WORK, THE // *** DIALOGS DO NOT GET COMPILED. // ////////////////////////////////////////////////////////////////// // the main dialog #define AP_RID_DIALOG_OPTIONS_TAB 1001 #define AP_RID_DIALOG_OPTIONS_BTN_SAVE 1002 #define AP_RID_DIALOG_OPTIONS_BTN_DEFAULT 1003 #define AP_RID_DIALOG_OPTIONS_BTN_OK IDOK #define AP_RID_DIALOG_OPTIONS_BTN_CANCEL IDCANCEL // sub-dialog for the "SPELL" tab #define AP_RID_DIALOG_OPTIONS_FRM_SpellGeneral 1200 #define AP_RID_DIALOG_OPTIONS_CHK_SpellCheckAsType 1201 #define AP_RID_DIALOG_OPTIONS_CHK_SpellHideErrors 1202 #define AP_RID_DIALOG_OPTIONS_CHK_SpellSuggest 1203 #define AP_RID_DIALOG_OPTIONS_CHK_SpellMainOnly 1204 #define AP_RID_DIALOG_OPTIONS_FRM_SpellIgnore 1205 #define AP_RID_DIALOG_OPTIONS_CHK_SpellUppercase 1206 #define AP_RID_DIALOG_OPTIONS_CHK_SpellNumbers 1207 #define AP_RID_DIALOG_OPTIONS_LBL_CUSTOMDICT 1209 #define AP_RID_DIALOG_OPTIONS_COMBO_CUSTOMDICT 1210 #define AP_RID_DIALOG_OPTIONS_BTN_CUSTOMDICT 1211 #define AP_RID_DIALOG_OPTIONS_LBL_IGNOREDWORD 1212 #define AP_RID_DIALOG_OPTIONS_BTN_IGNOREDRESET 1213 #define AP_RID_DIALOG_OPTIONS_BTN_IGNOREDEDIT 1214 #define AP_RID_DIALOG_OPTIONS_CHK_GrammarCheck 1215 #define AP_RID_DIALOG_OPTIONS_STATIC_General 1220 #define AP_RID_DIALOG_OPTIONS_STATIC_SpellIgnoreWords 1221 #define AP_RID_DIALOG_OPTIONS_STATIC_SpellDictionaries 1222 #define AP_RID_DIALOG_OPTIONS_STATIC_Grammar 1223 #define AP_RID_DIALOG_OPTIONS_CHK_HighLight 1224 // sub-dialog for the "GENERAL" tab #define AP_RID_DIALOG_OPTIONS_CHK_ViewCursorBlink 1301 #define AP_RID_DIALOG_OPTIONS_LBL_UNITS 1302 #define AP_RID_DIALOG_OPTIONS_COMBO_UNITS 1303 #define AP_RID_DIALOG_OPTIONS_BTN_BGColor 1305 #define AP_RID_DIALOG_OPTIONS_CHK_AllowCustomToolbars 1306 #define AP_RID_DIALOG_OPTIONS_CHK_ShowSplash 1307 #define AP_RID_DIALOG_OPTIONS_CHK_AutoLoadPlugins 1308 #define AP_RID_DIALOG_OPTIONS_STATIC_UI 1309 #define AP_RID_DIALOG_OPTIONS_STATIC_APPSTARTUP 1310 #define AP_RID_DIALOG_OPTIONS_TEXT_UILANG 1311 #define AP_RID_DIALOG_OPTIONS_CHK_LanguageWithKeyboard 1312 #define AP_RID_DIALOG_OPTIONS_COMBO_UILANG 1313 #define AP_RID_DIALOG_OPTIONS_STATIC_LANGUAGE 1314 // sub-dialog for the "Documents" tab #define AP_RID_DIALOG_OPTIONS_STATIC_BidiOptions 1400 #define AP_RID_DIALOG_OPTIONS_CHK_AutoSaveFile 1401 #define AP_RID_DIALOG_OPTIONS_STATIC_Interval 1402 #define AP_RID_DIALOG_OPTIONS_LBL_AutoSaveMinutes 1403 #define AP_RID_DIALOG_OPTIONS_SPN_AutoSavePeriodSpin 1404 #define AP_RID_DIALOG_OPTIONS_TXT_AutoSavePeriod 1405 #define AP_RID_DIALOG_OPTIONS_CHK_OtherDirectionRtl 1406 #define AP_RID_DIALOG_OPTIONS_LBL_AutoSaveExtension 1413 #define AP_RID_DIALOG_OPTIONS_TXT_AutoSaveExtension 1414 #define AP_RID_DIALOG_OPTIONS_CHK_DirMarkerAfterClosingParenthesis 1417 #ifdef RC_INVOKED // NOTE -- these placeholder strings get overridden at runtime // NOTE -- they're just here to make sizing easier // The sub-dialog for the General tab of the Preference dialog AP_RID_DIALOG_OPT_SPELL DIALOG DISCARDABLE 0, 0, 229, 233 STYLE WS_CHILD FONT 8, "MS Sans Serif" BEGIN CONTROL "Check s&pelling as you type", AP_RID_DIALOG_OPTIONS_CHK_SpellCheckAsType,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,14,31,162,10 CONTROL "Check &grammar as you type", AP_RID_DIALOG_OPTIONS_CHK_GrammarCheck,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,14,192,162,10 CONTROL "A&lways suggest corrections", AP_RID_DIALOG_OPTIONS_CHK_SpellSuggest,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,14,138,162,10 CONTROL "Suggest from &main only", AP_RID_DIALOG_OPTIONS_CHK_SpellMainOnly,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,14,155,162,10 LTEXT "User Interface", AP_RID_DIALOG_OPTIONS_STATIC_General,7,15,162,8 CONTROL "Check s&pelling as you type", AP_RID_DIALOG_OPTIONS_CHK_HighLight,"Button", BS_AUTOCHECKBOX | WS_DISABLED |WS_TABSTOP,14,48,162,10 LTEXT "Ignore Words", AP_RID_DIALOG_OPTIONS_STATIC_SpellIgnoreWords,8,69,162,8 CONTROL "Ignore words in &UPPERCASE", AP_RID_DIALOG_OPTIONS_CHK_SpellUppercase,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,14,85,162,10 CONTROL "Ignore words with num&bers", AP_RID_DIALOG_OPTIONS_CHK_SpellNumbers,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,14,102,162,10 LTEXT "Dictionaries", AP_RID_DIALOG_OPTIONS_STATIC_SpellDictionaries,7,122,162,8 LTEXT "Automatic Grammar Checking", AP_RID_DIALOG_OPTIONS_STATIC_Grammar,7,176,162,8 END AP_RID_DIALOG_OPT_GENERAL DIALOG DISCARDABLE 0, 0, 229, 233 STYLE WS_CHILD FONT 8, "MS Sans Serif" BEGIN LTEXT "Units:",AP_RID_DIALOG_OPTIONS_LBL_UNITS,14,66,24,12, SS_CENTERIMAGE | NOT WS_GROUP COMBOBOX AP_RID_DIALOG_OPTIONS_COMBO_UNITS,43,66,49,75, CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL "Blinking cursor", AP_RID_DIALOG_OPTIONS_CHK_ViewCursorBlink,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,14,31,175,10 PUSHBUTTON "Choose Screen Color",AP_RID_DIALOG_OPTIONS_BTN_BGColor, 15,87,90,14 LTEXT "User Interface",AP_RID_DIALOG_OPTIONS_STATIC_UI,7,15, 127,8 CONTROL "Show Spash on Startup", AP_RID_DIALOG_OPTIONS_CHK_ShowSplash,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,16,131,205,10 CONTROL "Allow Custom Toolbars",AP_RID_DIALOG_OPTIONS_CHK_AllowCustomToolbars,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,14,48,175,10 LTEXT "Application Startup", AP_RID_DIALOG_OPTIONS_STATIC_APPSTARTUP,10,115,127,8 CONTROL "Plugins",AP_RID_DIALOG_OPTIONS_CHK_AutoLoadPlugins,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,16,148,201,10 LTEXT "User Interface Language", AP_RID_DIALOG_OPTIONS_TEXT_UILANG,14,191,87,8 COMBOBOX AP_RID_DIALOG_OPTIONS_COMBO_UILANG,106,189,113,200, CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP CONTROL "Change language when changing keyboard", AP_RID_DIALOG_OPTIONS_CHK_LanguageWithKeyboard,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,14,210,206,8 LTEXT "Language Settings",AP_RID_DIALOG_OPTIONS_STATIC_LANGUAGE, 10,175,127,8 END AP_RID_DIALOG_OPT_DOCUMENTS DIALOG DISCARDABLE 0, 0, 229, 233 STYLE WS_CHILD FONT 8, "MS Sans Serif" BEGIN CONTROL "Auto Save", AP_RID_DIALOG_OPTIONS_CHK_AutoSaveFile,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7, 15,202,10 EDITTEXT AP_RID_DIALOG_OPTIONS_TXT_AutoSavePeriod,71,29,30,12 CONTROL "Spin",AP_RID_DIALOG_OPTIONS_SPN_AutoSavePeriodSpin, "msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_ARROWKEYS | UDS_NOTHOUSANDS,98,31,8,8 LTEXT "minutes",AP_RID_DIALOG_OPTIONS_LBL_AutoSaveMinutes,113, 32,95,8 LTEXT "File extension:", AP_RID_DIALOG_OPTIONS_LBL_AutoSaveExtension,13,48,57,8,NOT WS_GROUP EDITTEXT AP_RID_DIALOG_OPTIONS_TXT_AutoSaveExtension,72,46,25,12 LTEXT "Interval:", AP_RID_DIALOG_OPTIONS_STATIC_Interval,14,31,57,8,NOT WS_GROUP LTEXT "Bi-Directional Options", AP_RID_DIALOG_OPTIONS_STATIC_BidiOptions,7,75,186,8 CONTROL "Default to right-to-left direction of text", AP_RID_DIALOG_OPTIONS_CHK_OtherDirectionRtl,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,14,91,182,10 END #endif /* RC_INVOKED */