1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22// include --------------------------------------------------------------- 23#include <sfx2/sfx.hrc> 24#include "helpid.hrc" 25#include <cuires.hrc> 26#include "optdict.hrc" 27// pragma ---------------------------------------------------------------- 28 29// RID_SFXDLG_NEWDICT ---------------------------------------------------- 30ModalDialog RID_SFXDLG_NEWDICT 31{ 32 HelpId = HID_OPTIONS_DICT_NEW ; 33 OutputSize = TRUE ; 34 SVLook = TRUE ; 35 Size = MAP_APPFONT ( 213, 66 ) ; 36 Moveable = TRUE ; 37 Text [ en-US ] = "New Dictionary" ; 38 FixedText FT_DICTNAME 39 { 40 Pos = MAP_APPFONT ( 11, 15 ) ; 41 Size = MAP_APPFONT ( 40, 10 ) ; 42 Text [ en-US ] = "~Name" ; 43 LeftLabel = TRUE ; 44 }; 45 Edit ED_DICTNAME 46 { 47 HelpID = "cui:Edit:RID_SFXDLG_NEWDICT:ED_DICTNAME" ; 48 Border = TRUE ; 49 Pos = MAP_APPFONT ( 55, 14 ) ; 50 Size = MAP_APPFONT ( 90, 12 ) ; 51 MaxTextLength = 32 ; 52 }; 53 FixedText FT_DICTLANG 54 { 55 Pos = MAP_APPFONT ( 12, 30 ) ; 56 Size = MAP_APPFONT ( 40, 10 ) ; 57 Text [ en-US ] = "~Language" ; 58 LeftLabel = TRUE ; 59 }; 60 ListBox LB_DICTLANG 61 { 62 HelpID = "cui:ListBox:RID_SFXDLG_NEWDICT:LB_DICTLANG" ; 63 Border = TRUE ; 64 Pos = MAP_APPFONT ( 55, 30 ) ; 65 Size = MAP_APPFONT ( 90, 66 ) ; 66 DropDown = TRUE ; 67 }; 68 CheckBox BTN_EXCEPT 69 { 70 HelpID = "cui:CheckBox:RID_SFXDLG_NEWDICT:BTN_EXCEPT" ; 71 Pos = MAP_APPFONT ( 12, 44 ) ; 72 Size = MAP_APPFONT ( 57, 10 ) ; 73 Text [ en-US ] = "~Exception (-)" ; 74 }; 75 FixedLine GB_NEWDICT 76 { 77 Pos = MAP_APPFONT ( 6, 3 ) ; 78 Size = MAP_APPFONT ( 145, 8 ) ; 79 Text [ en-US ] = "Dictionary" ; 80 }; 81 OKButton BTN_NEWDICT_OK 82 { 83 Pos = MAP_APPFONT ( 157, 6 ) ; 84 Size = MAP_APPFONT ( 50, 14 ) ; 85 Disable = TRUE ; 86 DefButton = TRUE ; 87 }; 88 CancelButton BTN_NEWDICT_ESC 89 { 90 Pos = MAP_APPFONT ( 157, 23 ) ; 91 Size = MAP_APPFONT ( 50, 14 ) ; 92 }; 93 HelpButton BTN_NEWDICT_HLP 94 { 95 Pos = MAP_APPFONT ( 157, 43 ) ; 96 Size = MAP_APPFONT ( 50, 14 ) ; 97 }; 98}; 99 100// RID_SFXDLG_EDITDICT --------------------------------------------------- 101ModalDialog RID_SFXDLG_EDITDICT 102{ 103 HelpId = HID_OPTIONS_DICT_EDIT ; 104 OutputSize = TRUE ; 105 SVLook = TRUE ; 106 Size = MAP_APPFONT ( 270, 161 ) ; 107 Text [ en-US ] = "Edit Custom Dictionary" ; 108 109 Moveable = TRUE ; 110 FixedText FT_BOOK 111 { 112 Pos = MAP_APPFONT ( 12, 10 ) ; 113 Size = MAP_APPFONT ( 86, 10 ) ; 114 Text [ en-US ] = "~Book" ; 115 }; 116 ListBox LB_ALLDICTS 117 { 118 HelpID = "cui:ListBox:RID_SFXDLG_EDITDICT:LB_ALLDICTS" ; 119 Border = TRUE ; 120 Pos = MAP_APPFONT ( 82, 9 ) ; 121 Size = MAP_APPFONT ( 121, 62 ) ; 122 DropDown = TRUE ; 123 }; 124 FixedText FT_DICTLANG 125 { 126 Pos = MAP_APPFONT ( 12, 26 ) ; 127 Size = MAP_APPFONT ( 86, 10 ) ; 128 Text [ en-US ] = "~Language" ; 129 }; 130 ListBox LB_DICTLANG 131 { 132 HelpID = "cui:ListBox:RID_SFXDLG_EDITDICT:LB_DICTLANG" ; 133 Border = TRUE ; 134 Pos = MAP_APPFONT ( 82, 25 ) ; 135 Size = MAP_APPFONT ( 121, 66 ) ; 136 DropDown = TRUE ; 137 }; 138 139 GroupBox GB_EDITDICTS 140 { 141 Pos = MAP_APPFONT ( 2, 2 ) ; 142 Size = MAP_APPFONT ( 267, 137 ) ; 143 Hide = FALSE ; 144 }; 145 146 FixedText FT_WORD 147 { 148 Pos = MAP_APPFONT ( 13, 46 ) ; 149 Size = MAP_APPFONT ( 40, 8 ) ; 150 Text [ en-US ] = "~Word" ; 151 }; 152 Edit ED_WORD 153 { 154 HelpID = "cui:Edit:RID_SFXDLG_EDITDICT:ED_WORD" ; 155 Pos = MAP_APPFONT ( 12, 56 ) ; 156 Size = MAP_APPFONT ( 71, 12 ) ; 157 Border = TRUE ; 158 TabStop = TRUE ; 159 }; 160 FixedText FT_REPLACE 161 { 162 Pos = MAP_APPFONT ( 84, 46 ) ; 163 Size = MAP_APPFONT ( 60, 8 ) ; 164 Text [ en-US ] = "Replace ~By:" ; 165 }; 166 167 Edit ED_REPLACE 168 { 169 HelpID = "cui:Edit:RID_SFXDLG_EDITDICT:ED_REPLACE" ; 170 Pos = MAP_APPFONT ( 83, 56 ) ; 171 Size = MAP_APPFONT ( 120, 12 ) ; 172 Border = TRUE ; 173 TabStop = TRUE ; 174 }; 175 176 PushButton PB_NEW_REPLACE 177 { 178 HelpID = "cui:PushButton:RID_SFXDLG_EDITDICT:PB_NEW_REPLACE" ; 179 Pos = MAP_APPFONT ( 209, 56 ) ; 180 Size = MAP_APPFONT ( 55, 12 ) ; 181 TabStop = TRUE ; 182 Text [ en-US ] = "~New" ; 183 }; 184 PushButton PB_DELETE_REPLACE 185 { 186 HelpID = "cui:PushButton:RID_SFXDLG_EDITDICT:PB_DELETE_REPLACE" ; 187 Pos = MAP_APPFONT ( 209, 71 ) ; 188 Size = MAP_APPFONT ( 55, 12 ) ; 189 TabStop = TRUE ; 190 Text [ en-US ] = "~Delete" ; 191 }; 192 Control TLB_REPLACE 193 { 194 HelpId = HID_OPTIONS_DICT_EDIT_ENTRIES_LIST ; 195 Pos = MAP_APPFONT ( 12, 71 ) ; 196 Size = MAP_APPFONT ( 191, 58 ) ; 197 Border = TRUE ; 198 TabStop = TRUE ; 199 }; 200 String STR_MODIFY 201 { 202 Text [ en-US ] = "~Replace" ; 203 }; 204 205 206 HelpButton BTN_EDITHELP 207 { 208 Pos = MAP_APPFONT ( 145, 143 ) ; 209 Size = MAP_APPFONT ( 55, 14 ) ; 210 }; 211 212 CancelButton BTN_EDITCLOSE 213 { 214 Pos = MAP_APPFONT ( 209, 143 ) ; 215 Size = MAP_APPFONT ( 55, 14 ) ; 216 Text [ en-US ] = "~Close" ; 217 }; 218}; 219 220// Strings --------------------------------------------------------------- 221String RID_SVXSTR_OPT_DOUBLE_DICTS 222{ 223 Text [ en-US ] = "The specified name already exists.\nPlease enter a new name." ; 224}; 225// RID_SFXQB_SET_LANGUAGE ------------------------------------------------ 226QueryBox RID_SFXQB_SET_LANGUAGE 227{ 228 Buttons = WB_YES_NO ; 229 DefButton = WB_DEF_NO ; 230 Message [ en-US ] = "Do you want to change the '%1' dictionary language?" ; 231}; 232 233// ********************************************************************** EOF 234