xref: /trunk/main/cui/source/dialogs/thesdlg.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#include "cuires.hrc"
29#include "thesdlg.hrc"
30#include "helpid.hrc"
31#include <svx/svxids.hrc> // SID_THESAURUS
32
33
34 // RID_SVXDLG_THES -------------------------------------------------------
35ModalDialog RID_SVXDLG_THESAURUS
36{
37	HelpId = CMD_SID_THESAURUS ;
38	OutputSize = TRUE ;
39    Size = MAP_APPFONT ( 235, 230 ) ;
40	Text [ en-US ] = "Thesaurus" ;
41	SvLook = TRUE ;
42    Moveable = TRUE ;
43
44    FixedImage IMG_VENDOR
45    {
46        Pos = MAP_APPFONT ( 0, 0 ) ;
47        Size = MAP_APPFONT ( 235, 0  ) ;    // correct size will be applied at runtime
48        Hide = TRUE;
49    };
50
51    ImageButton BTN_LEFT
52    {
53        HelpID = "cui:ImageButton:RID_SVXDLG_THESAURUS:BTN_LEFT";
54        Pos = MAP_APPFONT ( 5 , 15 ) ;
55        Size = MAP_APPFONT ( 14 , 14 ) ;
56        TABSTOP = TRUE ;
57        SYMBOL = IMAGEBUTTON_ARROW_LEFT ;
58    };
59    FixedText FT_WORD
60	{
61        Pos = MAP_APPFONT ( 24 , 5 ) ;
62        Size = MAP_APPFONT ( 143 , 8 ) ;
63        Text [ en-US ] = "~Current word" ;
64		LEFT = TRUE ;
65	};
66    ComboBox CB_WORD
67	{
68        HelpID = "cui:ComboBox:RID_SVXDLG_THESAURUS:CB_WORD";
69		DropDown = TRUE ;
70        Pos = MAP_APPFONT ( 24 , 16 ) ;
71        Size = MAP_APPFONT ( 141 , 60 ) ;   // have drop down space for several lines
72	};
73    MenuButton MB_LANGUAGE
74    {
75        HelpID = "cui:MenuButton:RID_SVXDLG_THESAURUS:MB_LANGUAGE";
76        Pos = MAP_APPFONT ( 170 , 16 ) ;
77        Size = MAP_APPFONT ( 60 , 14 ) ;
78        Text [ en-US ] = "~Language" ;
79    };
80
81    FixedText FT_THES_ALTERNATIVES
82    {
83        Pos = MAP_APPFONT ( 5 , 33 ) ;
84        Size = MAP_APPFONT ( 255 , 8 ) ;
85        Text [ en-US ] = "~Alternatives" ;
86        LEFT = TRUE ;
87    };
88    Control CT_THES_ALTERNATIVES
89    {
90        HelpID = HID_CT_THES_ALTERNATIVES ;     // also needed for automatic testing to find the control
91        Pos = MAP_APPFONT ( 5 , 45 ) ;
92        Size = MAP_APPFONT ( 225 , 121 ) ;
93        Border = TRUE;
94        TabStop = TRUE ;
95    };
96
97    FixedText FT_REPL
98	{
99        Pos = MAP_APPFONT ( 5 , 173 ) ;
100        Size = MAP_APPFONT ( 255 , 8 ) ;
101        Text [ en-US ] = "~Replace with" ;
102		LEFT = TRUE ;
103	};
104	Edit ED_REPL
105	{
106	    HelpID = "cui:Edit:RID_SVXDLG_THESAURUS:ED_REPL";
107		BORDER = TRUE ;
108        Pos = MAP_APPFONT ( 5 , 184 ) ;
109        Size = MAP_APPFONT ( 225 , 12 ) ;
110		LEFT = TRUE ;
111	};
112    FixedLine FL_VAR
113	{
114        Pos = MAP_APPFONT ( 0 , 200 ) ;
115        Size = MAP_APPFONT ( 235 , 8 ) ;
116	};
117
118    HelpButton BTN_THES_HELP
119    {
120        Pos = MAP_APPFONT ( 5 , 210 ) ;
121        Size = MAP_APPFONT ( 60 , 14 ) ;
122    };
123    OkButton BTN_THES_OK
124    {
125        Pos = MAP_APPFONT ( 105 , 210 ) ;
126        Size = MAP_APPFONT ( 60 , 14 ) ;
127        Text [ en-US ] = "Replace" ;
128        DefButton = TRUE ;
129    };
130    CancelButton BTN_THES_CANCEL
131    {
132        Pos = MAP_APPFONT ( 170 , 210 ) ;
133        Size = MAP_APPFONT ( 60 , 14 ) ;
134    };
135
136    String STR_ERR_TEXTNOTFOUND
137	{
138        Text [ en-US ] = "No alternatives found." ;
139	};
140
141    Image IMG_DEFAULT_VENDOR
142    {
143        ImageBitmap = Bitmap { File = "vendor01.png"; };
144    };
145    Image IMG_DEFAULT_VENDOR_HC
146    {
147        ImageBitmap = Bitmap { File = "vendor01h.png"; };
148    };
149};
150
151