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 23 // include --------------------------------------------------------------- 24#include <cuires.hrc> 25#include "helpid.hrc" 26#include "SpellDialog.hrc" 27 // pragma ---------------------------------------------------------------- 28 29// RID_SVXDLG_SPELLCHECK ------------------------------------------------- 30 31#define STD_MASKCOLOR Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; } 32 33ModelessDialog RID_SVXDLG_SPELLCHECK 34{ 35 HelpId = HID_SPELLCHECK ; 36 Size = MAP_APPFONT( 270, 188 ); 37 OutputSize = TRUE; 38 Closeable = TRUE ; 39 SVLook = TRUE; 40 Hide = TRUE; 41 Text [ en-US ] = "Spellcheck: " ; 42 43 Moveable = TRUE ; 44 45 FixedImage IMG_VENDOR 46 { 47 Pos = MAP_APPFONT ( 0, 0 ) ; 48 Size = MAP_APPFONT ( 270, 21 ) ; 49 Hide = TRUE; 50 }; 51 52 FixedText FT_LANGUAGE 53 { 54 Pos = MAP_APPFONT( 6, 8 ); 55 Size = MAP_APPFONT( 100, 8 ); 56 Text [ en-US ] = "Text languag~e" ; 57 }; 58 ListBox LB_LANGUAGE 59 { 60 HelpID = "cui:ListBox:RID_SVXDLG_SPELLCHECK:LB_LANGUAGE"; 61 Pos = MAP_APPFONT( 110, 6 ); 62 Size = MAP_APPFONT( 93, 55 ); 63 Border = TRUE; 64 Sort = TRUE; 65 DropDown = TRUE; 66 }; 67 FixedText FT_NOTINDICT 68 { 69 Pos = MAP_APPFONT( 6, 26 ); 70 Size = MAP_APPFONT( 120, 8 ); 71 Text [ en-US ] = "~Not in dictionary" ; 72 }; 73 74 MultiLineEdit ED_NEWWORD 75 { 76 HelpID = "cui:MultiLineEdit:RID_SVXDLG_SPELLCHECK:ED_NEWWORD"; 77 Pos = MAP_APPFONT( 6, 37 ); 78 Size = MAP_APPFONT( 197, 48 ); 79 Border = TRUE; 80 VScroll = TRUE; 81 IgnoreTab = TRUE; 82 }; 83 84 FixedText FT_SUGGESTION 85 { 86 Pos = MAP_APPFONT( 6, 88 ); 87 Size = MAP_APPFONT( 120, 8 ); 88 Text [ en-US ] = "~Suggestions" ; 89 }; 90 ListBox LB_SUGGESTION 91 { 92 HelpID = "cui:ListBox:RID_SVXDLG_SPELLCHECK:LB_SUGGESTION"; 93 Pos = MAP_APPFONT( 6, 99 ); 94 Size = MAP_APPFONT( 197, 48 ); 95 Border = TRUE; 96 }; 97 98 CheckBox CB_CHECK_GRAMMAR 99 { 100 HelpID = "cui:CheckBox:RID_SVXDLG_SPELLCHECK:CB_CHECK_GRAMMAR"; 101 Pos = MAP_APPFONT( 6, 153 ); 102 Size = MAP_APPFONT( 100, 10 ); 103 Text [ en-US ] = "Check ~grammar" ; 104 Hide = TRUE; 105 }; 106 107 PushButton PB_IGNORE 108 { 109 HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_IGNORE"; 110 Pos = MAP_APPFONT( 209, 37 ); 111 Size = MAP_APPFONT( 55, 14 ); 112 Text [ en-US ] = "~Ignore Once" ; 113 }; 114 115 PushButton PB_IGNOREALL 116 { 117 HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_IGNOREALL"; 118 Pos = MAP_APPFONT( 209, 54 ); 119 Size = MAP_APPFONT( 55, 14 ); 120 Text [ en-US ] = "I~gnore All" ; 121 }; 122 PushButton PB_IGNORERULE 123 { 124 HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_IGNORERULE"; 125 Pos = MAP_APPFONT( 209, 54 ); 126 Size = MAP_APPFONT( 55, 14 ); 127 Text [ en-US ] = "I~gnore Rule" ; 128 Hide = TRUE; 129 }; 130 MenuButton MB_ADDTODICT 131 { 132 HelpID = "cui:MenuButton:RID_SVXDLG_SPELLCHECK:MB_ADDTODICT"; 133 Pos = MAP_APPFONT( 209, 71 ); 134 Size = MAP_APPFONT( 55, 14 ); 135 Text [ en-US ] = "~Add" ; 136 }; 137 138 PushButton PB_CHANGE 139 { 140 HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_CHANGE"; 141 Pos = MAP_APPFONT( 209, 99 ); 142 Size = MAP_APPFONT( 55, 14 ); 143 Text [ en-US ] = "~Change" ; 144 DefButton = TRUE ; 145 }; 146 147 PushButton PB_CHANGEALL 148 { 149 HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_CHANGEALL"; 150 Pos = MAP_APPFONT( 209, 117 ); 151 Size = MAP_APPFONT( 55, 14 ); 152 Text [ en-US ] = "Change A~ll" ; 153 }; 154 PushButton PB_EXPLAIN 155 { 156 HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_EXPLAIN"; 157 Pos = MAP_APPFONT( 209, 117 ); 158 Size = MAP_APPFONT( 55, 14 ); 159 Hide = TRUE; 160 Text [ en-US ] = "~Explain..." ; 161 }; 162 PushButton PB_AUTOCORR 163 { 164 HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_AUTOCORR"; 165 Pos = MAP_APPFONT( 209, 134 ); 166 Size = MAP_APPFONT( 55, 14 ); 167 Text [ en-US ] = "AutoCor~rect" ; 168 }; 169 GroupBox GB_BACKGROUND 170 { 171 Pos = MAP_APPFONT( 1, 21 ); 172 Size = MAP_APPFONT( 268, 146 ); 173 Hide=TRUE; 174 }; 175 176 HelpButton PB_HELP 177 { 178 Pos = MAP_APPFONT( 6, 170 ); 179 Size = MAP_APPFONT( 55, 14 ); 180 }; 181 PushButton PB_OPTIONS 182 { 183 HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_OPTIONS"; 184 Pos = MAP_APPFONT( 87, 170 ); 185 Size = MAP_APPFONT( 55, 14 ); 186 Text [ en-US ] = "O~ptions..." ; 187 }; 188 PushButton PB_UNDO 189 { 190 HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_UNDO"; 191 Pos = MAP_APPFONT( 148, 170 ); 192 Size = MAP_APPFONT( 55, 14 ); 193 Text [ en-US ] = "~Undo" ; 194 }; 195 196 PushButton PB_CLOSE 197 { 198 HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_CLOSE"; 199 Pos = MAP_APPFONT ( 209 , 170 ) ; 200 Size = MAP_APPFONT ( 55 , 14 ) ; 201 TabStop = TRUE ; 202 Text [ en-US ] = "Cl~ose" ; 203 }; 204 String ST_RESUME 205 { 206 Text[ en-US ] = "Resu~me"; 207 }; 208 String ST_NOSUGGESTIONS 209 { 210 Text [en-US] = "(no suggestions)"; 211 }; 212 String ST_SPELLING 213 { 214 Text[ en-US ] = "Spelling: $LANGUAGE ($LOCATION)"; 215 }; 216 String ST_SPELLING_AND_GRAMMAR 217 { 218 Text[ en-US ] = "Spelling and Grammar: $LANGUAGE ($LOCATION)"; 219 }; 220 String ST_SPELLING_AND_GRAMMAR_VENDORNAME 221 { 222 Text[ en-US ] = "Spelling and Grammar: $LANGUAGE ($LOCATION) [$VendorName]"; 223 }; 224 Image IMG_DEFAULT_VENDOR 225 { 226 ImageBitmap = Bitmap { File = "vendor01.png"; }; 227 }; 228 Image IMG_DEFAULT_VENDOR_HC 229 { 230 ImageBitmap = Bitmap { File = "vendor01h.png"; }; 231 }; 232 233}; 234 // ********************************************************************** EOF 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254