xref: /trunk/main/cui/source/dialogs/thesdlg.src (revision e414e35e85b0d08a5dbee6db06b784cfffa1ce0f)
10e2af6afSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
30e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
40e2af6afSAndrew Rist * or more contributor license agreements.  See the NOTICE file
50e2af6afSAndrew Rist * distributed with this work for additional information
60e2af6afSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
70e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the
80e2af6afSAndrew Rist * "License"); you may not use this file except in compliance
90e2af6afSAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
110e2af6afSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
130e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing,
140e2af6afSAndrew Rist * software distributed under the License is distributed on an
150e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
160e2af6afSAndrew Rist * KIND, either express or implied.  See the License for the
170e2af6afSAndrew Rist * specific language governing permissions and limitations
180e2af6afSAndrew Rist * under the License.
19cdf0e10cSrcweir *
200e2af6afSAndrew Rist *************************************************************/
210e2af6afSAndrew Rist
220e2af6afSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "cuires.hrc"
25cdf0e10cSrcweir#include "thesdlg.hrc"
26cdf0e10cSrcweir#include "helpid.hrc"
27cdf0e10cSrcweir#include <svx/svxids.hrc> // SID_THESAURUS
28cdf0e10cSrcweir
29cdf0e10cSrcweir// RID_SVXDLG_THES -------------------------------------------------------
30cdf0e10cSrcweirModalDialog RID_SVXDLG_THESAURUS
31cdf0e10cSrcweir{
32cdf0e10cSrcweir    HelpId = CMD_SID_THESAURUS ;
33cdf0e10cSrcweir    OutputSize = TRUE ;
34cdf0e10cSrcweir    Size = MAP_APPFONT ( 235, 230 ) ;
35cdf0e10cSrcweir    Text [ en-US ] = "Thesaurus" ;
36cdf0e10cSrcweir    SvLook = TRUE ;
37cdf0e10cSrcweir    Moveable = TRUE ;
38cdf0e10cSrcweir
39cdf0e10cSrcweir    FixedImage IMG_VENDOR
40cdf0e10cSrcweir    {
41cdf0e10cSrcweir        Pos = MAP_APPFONT ( 0, 0 ) ;
42cdf0e10cSrcweir        Size = MAP_APPFONT ( 235, 0 ) ; // correct size will be applied at runtime
43cdf0e10cSrcweir        Hide = TRUE;
44cdf0e10cSrcweir    };
45cdf0e10cSrcweir
46cdf0e10cSrcweir    ImageButton BTN_LEFT
47cdf0e10cSrcweir    {
48cdf0e10cSrcweir        HelpID = "cui:ImageButton:RID_SVXDLG_THESAURUS:BTN_LEFT" ;
49cdf0e10cSrcweir        Pos = MAP_APPFONT ( 5, 15 ) ;
50cdf0e10cSrcweir        Size = MAP_APPFONT ( 14, 14 ) ;
51cdf0e10cSrcweir        TABSTOP = TRUE ;
52cdf0e10cSrcweir        SYMBOL = IMAGEBUTTON_ARROW_LEFT ;
53cdf0e10cSrcweir    };
54cdf0e10cSrcweir    FixedText FT_WORD
55cdf0e10cSrcweir    {
56cdf0e10cSrcweir        Pos = MAP_APPFONT ( 24, 5 ) ;
57cdf0e10cSrcweir        Size = MAP_APPFONT ( 143, 8 ) ;
58cdf0e10cSrcweir        Text [ en-US ] = "~Current word" ;
59cdf0e10cSrcweir        LEFT = TRUE ;
60cdf0e10cSrcweir    };
61cdf0e10cSrcweir    ComboBox CB_WORD
62cdf0e10cSrcweir    {
63cdf0e10cSrcweir        HelpID = "cui:ComboBox:RID_SVXDLG_THESAURUS:CB_WORD" ;
64cdf0e10cSrcweir        DropDown = TRUE ;
65cdf0e10cSrcweir        Pos = MAP_APPFONT ( 24, 16 ) ;
66cdf0e10cSrcweir        Size = MAP_APPFONT ( 141, 60 ) ; // have drop down space for several lines
67cdf0e10cSrcweir    };
68cdf0e10cSrcweir    MenuButton MB_LANGUAGE
69cdf0e10cSrcweir    {
70cdf0e10cSrcweir        HelpID = "cui:MenuButton:RID_SVXDLG_THESAURUS:MB_LANGUAGE" ;
71cdf0e10cSrcweir        Pos = MAP_APPFONT ( 170, 16 ) ;
72cdf0e10cSrcweir        Size = MAP_APPFONT ( 60, 14 ) ;
73cdf0e10cSrcweir        Text [ en-US ] = "~Language" ;
74cdf0e10cSrcweir    };
75cdf0e10cSrcweir
76cdf0e10cSrcweir    FixedText FT_THES_ALTERNATIVES
77cdf0e10cSrcweir    {
78cdf0e10cSrcweir        Pos = MAP_APPFONT ( 5, 33 ) ;
79cdf0e10cSrcweir        Size = MAP_APPFONT ( 255, 8 ) ;
80cdf0e10cSrcweir        Text [ en-US ] = "~Alternatives" ;
81cdf0e10cSrcweir        LEFT = TRUE ;
82cdf0e10cSrcweir    };
83cdf0e10cSrcweir    Control CT_THES_ALTERNATIVES
84cdf0e10cSrcweir    {
85cdf0e10cSrcweir        HelpID = HID_CT_THES_ALTERNATIVES ; // also needed for automatic testing to find the control
86cdf0e10cSrcweir        Pos = MAP_APPFONT ( 5, 45 ) ;
87cdf0e10cSrcweir        Size = MAP_APPFONT ( 225, 121 ) ;
88cdf0e10cSrcweir        Border = TRUE;
89cdf0e10cSrcweir        TabStop = TRUE ;
90cdf0e10cSrcweir    };
91cdf0e10cSrcweir
92cdf0e10cSrcweir    FixedText FT_REPL
93cdf0e10cSrcweir    {
94cdf0e10cSrcweir        Pos = MAP_APPFONT ( 5, 173 ) ;
95cdf0e10cSrcweir        Size = MAP_APPFONT ( 255, 8 ) ;
96cdf0e10cSrcweir        Text [ en-US ] = "~Replace with" ;
97cdf0e10cSrcweir        LEFT = TRUE ;
98cdf0e10cSrcweir    };
99cdf0e10cSrcweir    Edit ED_REPL
100cdf0e10cSrcweir    {
101cdf0e10cSrcweir        HelpID = "cui:Edit:RID_SVXDLG_THESAURUS:ED_REPL" ;
102cdf0e10cSrcweir        BORDER = TRUE ;
103cdf0e10cSrcweir        Pos = MAP_APPFONT ( 5, 184 ) ;
104cdf0e10cSrcweir        Size = MAP_APPFONT ( 225, 12 ) ;
105cdf0e10cSrcweir        LEFT = TRUE ;
106cdf0e10cSrcweir    };
107cdf0e10cSrcweir    FixedLine FL_VAR
108cdf0e10cSrcweir    {
109cdf0e10cSrcweir        Pos = MAP_APPFONT ( 0, 200 ) ;
110cdf0e10cSrcweir        Size = MAP_APPFONT ( 235, 8 ) ;
111cdf0e10cSrcweir    };
112cdf0e10cSrcweir
113cdf0e10cSrcweir    HelpButton BTN_THES_HELP
114cdf0e10cSrcweir    {
115cdf0e10cSrcweir        Pos = MAP_APPFONT ( 5, 210 ) ;
116cdf0e10cSrcweir        Size = MAP_APPFONT ( 60, 14 ) ;
117cdf0e10cSrcweir    };
118cdf0e10cSrcweir    OkButton BTN_THES_OK
119cdf0e10cSrcweir    {
120cdf0e10cSrcweir        Pos = MAP_APPFONT ( 105, 210 ) ;
121cdf0e10cSrcweir        Size = MAP_APPFONT ( 60, 14 ) ;
122cdf0e10cSrcweir        Text [ en-US ] = "Replace" ;
123cdf0e10cSrcweir        DefButton = TRUE ;
124cdf0e10cSrcweir    };
125cdf0e10cSrcweir    CancelButton BTN_THES_CANCEL
126cdf0e10cSrcweir    {
127cdf0e10cSrcweir        Pos = MAP_APPFONT ( 170, 210 ) ;
128cdf0e10cSrcweir        Size = MAP_APPFONT ( 60, 14 ) ;
129cdf0e10cSrcweir    };
130cdf0e10cSrcweir
131cdf0e10cSrcweir    String STR_ERR_TEXTNOTFOUND
132cdf0e10cSrcweir    {
133cdf0e10cSrcweir        Text [ en-US ] = "No alternatives found." ;
134cdf0e10cSrcweir    };
135cdf0e10cSrcweir
136cdf0e10cSrcweir    Image IMG_DEFAULT_VENDOR
137cdf0e10cSrcweir    {
138cdf0e10cSrcweir        ImageBitmap = Bitmap {File = "vendor01.png" ;} ;
139cdf0e10cSrcweir    };
140cdf0e10cSrcweir    Image IMG_DEFAULT_VENDOR_HC
141cdf0e10cSrcweir    {
142cdf0e10cSrcweir        ImageBitmap = Bitmap {File = "vendor01h.png" ;} ;
143cdf0e10cSrcweir    };
144cdf0e10cSrcweir};
145cdf0e10cSrcweir
146*e414e35eSmseidel// ********************************************************************** EOF
147