1*0e2af6afSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*0e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*0e2af6afSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*0e2af6afSAndrew Rist * distributed with this work for additional information 6*0e2af6afSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*0e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*0e2af6afSAndrew Rist * "License"); you may not use this file except in compliance 9*0e2af6afSAndrew Rist * with the License. You may obtain a copy of the License at 10*0e2af6afSAndrew Rist * 11*0e2af6afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*0e2af6afSAndrew Rist * 13*0e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*0e2af6afSAndrew Rist * software distributed under the License is distributed on an 15*0e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*0e2af6afSAndrew Rist * KIND, either express or implied. See the License for the 17*0e2af6afSAndrew Rist * specific language governing permissions and limitations 18*0e2af6afSAndrew Rist * under the License. 19*0e2af6afSAndrew Rist * 20*0e2af6afSAndrew Rist *************************************************************/ 21*0e2af6afSAndrew Rist 22*0e2af6afSAndrew Rist 23cdf0e10cSrcweir // include --------------------------------------------------------------- 24cdf0e10cSrcweir#include <cuires.hrc> 25cdf0e10cSrcweir#include "helpid.hrc" 26cdf0e10cSrcweir#include "SpellDialog.hrc" 27cdf0e10cSrcweir // pragma ---------------------------------------------------------------- 28cdf0e10cSrcweir 29cdf0e10cSrcweir// RID_SVXDLG_SPELLCHECK ------------------------------------------------- 30cdf0e10cSrcweir 31cdf0e10cSrcweir#define STD_MASKCOLOR Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; } 32cdf0e10cSrcweir 33cdf0e10cSrcweirModelessDialog RID_SVXDLG_SPELLCHECK 34cdf0e10cSrcweir{ 35cdf0e10cSrcweir HelpId = HID_SPELLCHECK ; 36cdf0e10cSrcweir Size = MAP_APPFONT( 270, 188 ); 37cdf0e10cSrcweir OutputSize = TRUE; 38cdf0e10cSrcweir Closeable = TRUE ; 39cdf0e10cSrcweir SVLook = TRUE; 40cdf0e10cSrcweir Hide = TRUE; 41cdf0e10cSrcweir Text [ en-US ] = "Spellcheck: " ; 42cdf0e10cSrcweir 43cdf0e10cSrcweir Moveable = TRUE ; 44cdf0e10cSrcweir 45cdf0e10cSrcweir FixedImage IMG_VENDOR 46cdf0e10cSrcweir { 47cdf0e10cSrcweir Pos = MAP_APPFONT ( 0, 0 ) ; 48cdf0e10cSrcweir Size = MAP_APPFONT ( 270, 21 ) ; 49cdf0e10cSrcweir Hide = TRUE; 50cdf0e10cSrcweir }; 51cdf0e10cSrcweir 52cdf0e10cSrcweir FixedText FT_LANGUAGE 53cdf0e10cSrcweir { 54cdf0e10cSrcweir Pos = MAP_APPFONT( 6, 8 ); 55cdf0e10cSrcweir Size = MAP_APPFONT( 100, 8 ); 56cdf0e10cSrcweir Text [ en-US ] = "Text languag~e" ; 57cdf0e10cSrcweir }; 58cdf0e10cSrcweir ListBox LB_LANGUAGE 59cdf0e10cSrcweir { 60cdf0e10cSrcweir HelpID = "cui:ListBox:RID_SVXDLG_SPELLCHECK:LB_LANGUAGE"; 61cdf0e10cSrcweir Pos = MAP_APPFONT( 110, 6 ); 62cdf0e10cSrcweir Size = MAP_APPFONT( 93, 55 ); 63cdf0e10cSrcweir Border = TRUE; 64cdf0e10cSrcweir Sort = TRUE; 65cdf0e10cSrcweir DropDown = TRUE; 66cdf0e10cSrcweir }; 67cdf0e10cSrcweir FixedText FT_NOTINDICT 68cdf0e10cSrcweir { 69cdf0e10cSrcweir Pos = MAP_APPFONT( 6, 26 ); 70cdf0e10cSrcweir Size = MAP_APPFONT( 120, 8 ); 71cdf0e10cSrcweir Text [ en-US ] = "~Not in dictionary" ; 72cdf0e10cSrcweir }; 73cdf0e10cSrcweir 74cdf0e10cSrcweir MultiLineEdit ED_NEWWORD 75cdf0e10cSrcweir { 76cdf0e10cSrcweir HelpID = "cui:MultiLineEdit:RID_SVXDLG_SPELLCHECK:ED_NEWWORD"; 77cdf0e10cSrcweir Pos = MAP_APPFONT( 6, 37 ); 78cdf0e10cSrcweir Size = MAP_APPFONT( 197, 48 ); 79cdf0e10cSrcweir Border = TRUE; 80cdf0e10cSrcweir VScroll = TRUE; 81cdf0e10cSrcweir IgnoreTab = TRUE; 82cdf0e10cSrcweir }; 83cdf0e10cSrcweir 84cdf0e10cSrcweir FixedText FT_SUGGESTION 85cdf0e10cSrcweir { 86cdf0e10cSrcweir Pos = MAP_APPFONT( 6, 88 ); 87cdf0e10cSrcweir Size = MAP_APPFONT( 120, 8 ); 88cdf0e10cSrcweir Text [ en-US ] = "~Suggestions" ; 89cdf0e10cSrcweir }; 90cdf0e10cSrcweir ListBox LB_SUGGESTION 91cdf0e10cSrcweir { 92cdf0e10cSrcweir HelpID = "cui:ListBox:RID_SVXDLG_SPELLCHECK:LB_SUGGESTION"; 93cdf0e10cSrcweir Pos = MAP_APPFONT( 6, 99 ); 94cdf0e10cSrcweir Size = MAP_APPFONT( 197, 48 ); 95cdf0e10cSrcweir Border = TRUE; 96cdf0e10cSrcweir }; 97cdf0e10cSrcweir 98cdf0e10cSrcweir CheckBox CB_CHECK_GRAMMAR 99cdf0e10cSrcweir { 100cdf0e10cSrcweir HelpID = "cui:CheckBox:RID_SVXDLG_SPELLCHECK:CB_CHECK_GRAMMAR"; 101cdf0e10cSrcweir Pos = MAP_APPFONT( 6, 153 ); 102cdf0e10cSrcweir Size = MAP_APPFONT( 100, 10 ); 103cdf0e10cSrcweir Text [ en-US ] = "Check ~grammar" ; 104cdf0e10cSrcweir Hide = TRUE; 105cdf0e10cSrcweir }; 106cdf0e10cSrcweir 107cdf0e10cSrcweir PushButton PB_IGNORE 108cdf0e10cSrcweir { 109cdf0e10cSrcweir HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_IGNORE"; 110cdf0e10cSrcweir Pos = MAP_APPFONT( 209, 37 ); 111cdf0e10cSrcweir Size = MAP_APPFONT( 55, 14 ); 112cdf0e10cSrcweir Text [ en-US ] = "~Ignore Once" ; 113cdf0e10cSrcweir }; 114cdf0e10cSrcweir 115cdf0e10cSrcweir PushButton PB_IGNOREALL 116cdf0e10cSrcweir { 117cdf0e10cSrcweir HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_IGNOREALL"; 118cdf0e10cSrcweir Pos = MAP_APPFONT( 209, 54 ); 119cdf0e10cSrcweir Size = MAP_APPFONT( 55, 14 ); 120cdf0e10cSrcweir Text [ en-US ] = "I~gnore All" ; 121cdf0e10cSrcweir }; 122cdf0e10cSrcweir PushButton PB_IGNORERULE 123cdf0e10cSrcweir { 124cdf0e10cSrcweir HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_IGNORERULE"; 125cdf0e10cSrcweir Pos = MAP_APPFONT( 209, 54 ); 126cdf0e10cSrcweir Size = MAP_APPFONT( 55, 14 ); 127cdf0e10cSrcweir Text [ en-US ] = "I~gnore Rule" ; 128cdf0e10cSrcweir Hide = TRUE; 129cdf0e10cSrcweir }; 130cdf0e10cSrcweir MenuButton MB_ADDTODICT 131cdf0e10cSrcweir { 132cdf0e10cSrcweir HelpID = "cui:MenuButton:RID_SVXDLG_SPELLCHECK:MB_ADDTODICT"; 133cdf0e10cSrcweir Pos = MAP_APPFONT( 209, 71 ); 134cdf0e10cSrcweir Size = MAP_APPFONT( 55, 14 ); 135cdf0e10cSrcweir Text [ en-US ] = "~Add" ; 136cdf0e10cSrcweir }; 137cdf0e10cSrcweir 138cdf0e10cSrcweir PushButton PB_CHANGE 139cdf0e10cSrcweir { 140cdf0e10cSrcweir HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_CHANGE"; 141cdf0e10cSrcweir Pos = MAP_APPFONT( 209, 99 ); 142cdf0e10cSrcweir Size = MAP_APPFONT( 55, 14 ); 143cdf0e10cSrcweir Text [ en-US ] = "~Change" ; 144cdf0e10cSrcweir DefButton = TRUE ; 145cdf0e10cSrcweir }; 146cdf0e10cSrcweir 147cdf0e10cSrcweir PushButton PB_CHANGEALL 148cdf0e10cSrcweir { 149cdf0e10cSrcweir HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_CHANGEALL"; 150cdf0e10cSrcweir Pos = MAP_APPFONT( 209, 117 ); 151cdf0e10cSrcweir Size = MAP_APPFONT( 55, 14 ); 152cdf0e10cSrcweir Text [ en-US ] = "Change A~ll" ; 153cdf0e10cSrcweir }; 154cdf0e10cSrcweir PushButton PB_EXPLAIN 155cdf0e10cSrcweir { 156cdf0e10cSrcweir HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_EXPLAIN"; 157cdf0e10cSrcweir Pos = MAP_APPFONT( 209, 117 ); 158cdf0e10cSrcweir Size = MAP_APPFONT( 55, 14 ); 159cdf0e10cSrcweir Hide = TRUE; 160cdf0e10cSrcweir Text [ en-US ] = "~Explain..." ; 161cdf0e10cSrcweir }; 162cdf0e10cSrcweir PushButton PB_AUTOCORR 163cdf0e10cSrcweir { 164cdf0e10cSrcweir HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_AUTOCORR"; 165cdf0e10cSrcweir Pos = MAP_APPFONT( 209, 134 ); 166cdf0e10cSrcweir Size = MAP_APPFONT( 55, 14 ); 167cdf0e10cSrcweir Text [ en-US ] = "AutoCor~rect" ; 168cdf0e10cSrcweir }; 169cdf0e10cSrcweir GroupBox GB_BACKGROUND 170cdf0e10cSrcweir { 171cdf0e10cSrcweir Pos = MAP_APPFONT( 1, 21 ); 172cdf0e10cSrcweir Size = MAP_APPFONT( 268, 146 ); 173cdf0e10cSrcweir Hide=TRUE; 174cdf0e10cSrcweir }; 175cdf0e10cSrcweir 176cdf0e10cSrcweir HelpButton PB_HELP 177cdf0e10cSrcweir { 178cdf0e10cSrcweir Pos = MAP_APPFONT( 6, 170 ); 179cdf0e10cSrcweir Size = MAP_APPFONT( 55, 14 ); 180cdf0e10cSrcweir }; 181cdf0e10cSrcweir PushButton PB_OPTIONS 182cdf0e10cSrcweir { 183cdf0e10cSrcweir HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_OPTIONS"; 184cdf0e10cSrcweir Pos = MAP_APPFONT( 87, 170 ); 185cdf0e10cSrcweir Size = MAP_APPFONT( 55, 14 ); 186cdf0e10cSrcweir Text [ en-US ] = "O~ptions..." ; 187cdf0e10cSrcweir }; 188cdf0e10cSrcweir PushButton PB_UNDO 189cdf0e10cSrcweir { 190cdf0e10cSrcweir HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_UNDO"; 191cdf0e10cSrcweir Pos = MAP_APPFONT( 148, 170 ); 192cdf0e10cSrcweir Size = MAP_APPFONT( 55, 14 ); 193cdf0e10cSrcweir Text [ en-US ] = "~Undo" ; 194cdf0e10cSrcweir }; 195cdf0e10cSrcweir 196cdf0e10cSrcweir PushButton PB_CLOSE 197cdf0e10cSrcweir { 198cdf0e10cSrcweir HelpID = "cui:PushButton:RID_SVXDLG_SPELLCHECK:PB_CLOSE"; 199cdf0e10cSrcweir Pos = MAP_APPFONT ( 209 , 170 ) ; 200cdf0e10cSrcweir Size = MAP_APPFONT ( 55 , 14 ) ; 201cdf0e10cSrcweir TabStop = TRUE ; 202cdf0e10cSrcweir Text [ en-US ] = "Cl~ose" ; 203cdf0e10cSrcweir }; 204cdf0e10cSrcweir String ST_RESUME 205cdf0e10cSrcweir { 206cdf0e10cSrcweir Text[ en-US ] = "Resu~me"; 207cdf0e10cSrcweir }; 208cdf0e10cSrcweir String ST_NOSUGGESTIONS 209cdf0e10cSrcweir { 210cdf0e10cSrcweir Text [en-US] = "(no suggestions)"; 211cdf0e10cSrcweir }; 212cdf0e10cSrcweir String ST_SPELLING 213cdf0e10cSrcweir { 214cdf0e10cSrcweir Text[ en-US ] = "Spelling: $LANGUAGE ($LOCATION)"; 215cdf0e10cSrcweir }; 216cdf0e10cSrcweir String ST_SPELLING_AND_GRAMMAR 217cdf0e10cSrcweir { 218cdf0e10cSrcweir Text[ en-US ] = "Spelling and Grammar: $LANGUAGE ($LOCATION)"; 219cdf0e10cSrcweir }; 220cdf0e10cSrcweir String ST_SPELLING_AND_GRAMMAR_VENDORNAME 221cdf0e10cSrcweir { 222cdf0e10cSrcweir Text[ en-US ] = "Spelling and Grammar: $LANGUAGE ($LOCATION) [$VendorName]"; 223cdf0e10cSrcweir }; 224cdf0e10cSrcweir Image IMG_DEFAULT_VENDOR 225cdf0e10cSrcweir { 226cdf0e10cSrcweir ImageBitmap = Bitmap { File = "vendor01.png"; }; 227cdf0e10cSrcweir }; 228cdf0e10cSrcweir Image IMG_DEFAULT_VENDOR_HC 229cdf0e10cSrcweir { 230cdf0e10cSrcweir ImageBitmap = Bitmap { File = "vendor01h.png"; }; 231cdf0e10cSrcweir }; 232cdf0e10cSrcweir 233cdf0e10cSrcweir}; 234cdf0e10cSrcweir // ********************************************************************** EOF 235cdf0e10cSrcweir 236cdf0e10cSrcweir 237cdf0e10cSrcweir 238cdf0e10cSrcweir 239cdf0e10cSrcweir 240cdf0e10cSrcweir 241cdf0e10cSrcweir 242cdf0e10cSrcweir 243cdf0e10cSrcweir 244cdf0e10cSrcweir 245cdf0e10cSrcweir 246cdf0e10cSrcweir 247cdf0e10cSrcweir 248cdf0e10cSrcweir 249cdf0e10cSrcweir 250cdf0e10cSrcweir 251cdf0e10cSrcweir 252cdf0e10cSrcweir 253cdf0e10cSrcweir 254