| /************************************************************** |
| * |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, |
| * software distributed under the License is distributed on an |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| * KIND, either express or implied. See the License for the |
| * specific language governing permissions and limitations |
| * under the License. |
| * |
| *************************************************************/ |
| |
| // include --------------------------------------------------------------- |
| #include <sfx2/sfx.hrc> |
| #include "helpid.hrc" |
| #include <cuires.hrc> |
| #include "optdict.hrc" |
| // pragma ---------------------------------------------------------------- |
| |
| // RID_SFXDLG_NEWDICT ---------------------------------------------------- |
| ModalDialog RID_SFXDLG_NEWDICT |
| { |
| HelpId = HID_OPTIONS_DICT_NEW ; |
| OutputSize = TRUE ; |
| SVLook = TRUE ; |
| Size = MAP_APPFONT ( 213, 66 ) ; |
| Moveable = TRUE ; |
| Text [ en-US ] = "New Dictionary" ; |
| FixedText FT_DICTNAME |
| { |
| Pos = MAP_APPFONT ( 11, 15 ) ; |
| Size = MAP_APPFONT ( 40, 10 ) ; |
| Text [ en-US ] = "~Name" ; |
| LeftLabel = TRUE ; |
| }; |
| Edit ED_DICTNAME |
| { |
| HelpID = "cui:Edit:RID_SFXDLG_NEWDICT:ED_DICTNAME" ; |
| Border = TRUE ; |
| Pos = MAP_APPFONT ( 55, 14 ) ; |
| Size = MAP_APPFONT ( 90, 12 ) ; |
| MaxTextLength = 32 ; |
| }; |
| FixedText FT_DICTLANG |
| { |
| Pos = MAP_APPFONT ( 12, 30 ) ; |
| Size = MAP_APPFONT ( 40, 10 ) ; |
| Text [ en-US ] = "~Language" ; |
| LeftLabel = TRUE ; |
| }; |
| ListBox LB_DICTLANG |
| { |
| HelpID = "cui:ListBox:RID_SFXDLG_NEWDICT:LB_DICTLANG" ; |
| Border = TRUE ; |
| Pos = MAP_APPFONT ( 55, 30 ) ; |
| Size = MAP_APPFONT ( 90, 66 ) ; |
| DropDown = TRUE ; |
| }; |
| CheckBox BTN_EXCEPT |
| { |
| HelpID = "cui:CheckBox:RID_SFXDLG_NEWDICT:BTN_EXCEPT" ; |
| Pos = MAP_APPFONT ( 12, 44 ) ; |
| Size = MAP_APPFONT ( 57, 10 ) ; |
| Text [ en-US ] = "~Exception (-)" ; |
| }; |
| FixedLine GB_NEWDICT |
| { |
| Pos = MAP_APPFONT ( 6, 3 ) ; |
| Size = MAP_APPFONT ( 145, 8 ) ; |
| Text [ en-US ] = "Dictionary" ; |
| }; |
| OKButton BTN_NEWDICT_OK |
| { |
| Pos = MAP_APPFONT ( 157, 6 ) ; |
| Size = MAP_APPFONT ( 50, 14 ) ; |
| Disable = TRUE ; |
| DefButton = TRUE ; |
| }; |
| CancelButton BTN_NEWDICT_ESC |
| { |
| Pos = MAP_APPFONT ( 157, 23 ) ; |
| Size = MAP_APPFONT ( 50, 14 ) ; |
| }; |
| HelpButton BTN_NEWDICT_HLP |
| { |
| Pos = MAP_APPFONT ( 157, 43 ) ; |
| Size = MAP_APPFONT ( 50, 14 ) ; |
| }; |
| }; |
| |
| // RID_SFXDLG_EDITDICT --------------------------------------------------- |
| ModalDialog RID_SFXDLG_EDITDICT |
| { |
| HelpId = HID_OPTIONS_DICT_EDIT ; |
| OutputSize = TRUE ; |
| SVLook = TRUE ; |
| Size = MAP_APPFONT ( 270, 161 ) ; |
| Text [ en-US ] = "Edit Custom Dictionary" ; |
| |
| Moveable = TRUE ; |
| FixedText FT_BOOK |
| { |
| Pos = MAP_APPFONT ( 12, 10 ) ; |
| Size = MAP_APPFONT ( 86, 10 ) ; |
| Text [ en-US ] = "~Book" ; |
| }; |
| ListBox LB_ALLDICTS |
| { |
| HelpID = "cui:ListBox:RID_SFXDLG_EDITDICT:LB_ALLDICTS" ; |
| Border = TRUE ; |
| Pos = MAP_APPFONT ( 82, 9 ) ; |
| Size = MAP_APPFONT ( 121, 62 ) ; |
| DropDown = TRUE ; |
| }; |
| FixedText FT_DICTLANG |
| { |
| Pos = MAP_APPFONT ( 12, 26 ) ; |
| Size = MAP_APPFONT ( 86, 10 ) ; |
| Text [ en-US ] = "~Language" ; |
| }; |
| ListBox LB_DICTLANG |
| { |
| HelpID = "cui:ListBox:RID_SFXDLG_EDITDICT:LB_DICTLANG" ; |
| Border = TRUE ; |
| Pos = MAP_APPFONT ( 82, 25 ) ; |
| Size = MAP_APPFONT ( 121, 66 ) ; |
| DropDown = TRUE ; |
| }; |
| |
| GroupBox GB_EDITDICTS |
| { |
| Pos = MAP_APPFONT ( 2, 2 ) ; |
| Size = MAP_APPFONT ( 267, 137 ) ; |
| Hide = FALSE ; |
| }; |
| |
| FixedText FT_WORD |
| { |
| Pos = MAP_APPFONT ( 13, 46 ) ; |
| Size = MAP_APPFONT ( 40, 8 ) ; |
| Text [ en-US ] = "~Word" ; |
| }; |
| Edit ED_WORD |
| { |
| HelpID = "cui:Edit:RID_SFXDLG_EDITDICT:ED_WORD" ; |
| Pos = MAP_APPFONT ( 12, 56 ) ; |
| Size = MAP_APPFONT ( 71, 12 ) ; |
| Border = TRUE ; |
| TabStop = TRUE ; |
| }; |
| FixedText FT_REPLACE |
| { |
| Pos = MAP_APPFONT ( 84, 46 ) ; |
| Size = MAP_APPFONT ( 60, 8 ) ; |
| Text [ en-US ] = "Replace ~By:" ; |
| }; |
| |
| Edit ED_REPLACE |
| { |
| HelpID = "cui:Edit:RID_SFXDLG_EDITDICT:ED_REPLACE" ; |
| Pos = MAP_APPFONT ( 83, 56 ) ; |
| Size = MAP_APPFONT ( 120, 12 ) ; |
| Border = TRUE ; |
| TabStop = TRUE ; |
| }; |
| |
| PushButton PB_NEW_REPLACE |
| { |
| HelpID = "cui:PushButton:RID_SFXDLG_EDITDICT:PB_NEW_REPLACE" ; |
| Pos = MAP_APPFONT ( 209, 56 ) ; |
| Size = MAP_APPFONT ( 55, 12 ) ; |
| TabStop = TRUE ; |
| Text [ en-US ] = "~New" ; |
| }; |
| PushButton PB_DELETE_REPLACE |
| { |
| HelpID = "cui:PushButton:RID_SFXDLG_EDITDICT:PB_DELETE_REPLACE" ; |
| Pos = MAP_APPFONT ( 209, 71 ) ; |
| Size = MAP_APPFONT ( 55, 12 ) ; |
| TabStop = TRUE ; |
| Text [ en-US ] = "~Delete" ; |
| }; |
| Control TLB_REPLACE |
| { |
| HelpId = HID_OPTIONS_DICT_EDIT_ENTRIES_LIST ; |
| Pos = MAP_APPFONT ( 12, 71 ) ; |
| Size = MAP_APPFONT ( 191, 58 ) ; |
| Border = TRUE ; |
| TabStop = TRUE ; |
| }; |
| String STR_MODIFY |
| { |
| Text [ en-US ] = "~Replace" ; |
| }; |
| |
| |
| HelpButton BTN_EDITHELP |
| { |
| Pos = MAP_APPFONT ( 145, 143 ) ; |
| Size = MAP_APPFONT ( 55, 14 ) ; |
| }; |
| |
| CancelButton BTN_EDITCLOSE |
| { |
| Pos = MAP_APPFONT ( 209, 143 ) ; |
| Size = MAP_APPFONT ( 55, 14 ) ; |
| Text [ en-US ] = "~Close" ; |
| }; |
| }; |
| |
| // Strings --------------------------------------------------------------- |
| String RID_SVXSTR_OPT_DOUBLE_DICTS |
| { |
| Text [ en-US ] = "The specified name already exists.\nPlease enter a new name." ; |
| }; |
| // RID_SFXQB_SET_LANGUAGE ------------------------------------------------ |
| QueryBox RID_SFXQB_SET_LANGUAGE |
| { |
| Buttons = WB_YES_NO ; |
| DefButton = WB_DEF_NO ; |
| Message [ en-US ] = "Do you want to change the '%1' dictionary language?" ; |
| }; |
| |
| // ********************************************************************** EOF |