xref: /AOO41X/main/cui/source/dialogs/dlgname.src (revision 0e2af6af91e132b42f4dfba722979876af246a8a) !
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
24// include ------------------------------------------------------------------
25
26#include <cuires.hrc>
27#include "helpid.hrc"
28#include "dlgname.hrc"
29
30// RID_SVXDLG_NAME ----------------------------------------------------------
31
32ModalDialog RID_SVXDLG_NAME
33{
34    HelpId = HID_DLG_NAME ;
35    OutputSize = TRUE ;
36    SvLook = TRUE ;
37    Size = MAP_APPFONT ( 180 , 63 ) ;
38    Text [ en-US ] = "Name" ;
39    Moveable = TRUE ;
40    FixedText FT_DESCRIPTION
41    {
42        Pos = MAP_APPFONT ( 6 , 6 ) ;
43        Size = MAP_APPFONT ( 112 , 8 ) ;
44        WordBreak = TRUE ;
45    };
46    Edit EDT_STRING
47    {
48        HelpID = "cui:Edit:RID_SVXDLG_NAME:EDT_STRING";
49        Border = TRUE ;
50        Pos = MAP_APPFONT ( 6 , 17 ) ;
51        Size = MAP_APPFONT ( 112 , 12 ) ;
52        TabStop = TRUE ;
53    };
54    OKButton BTN_OK
55    {
56        Pos = MAP_APPFONT ( 124 , 6 ) ;
57        Size = MAP_APPFONT ( 50 , 14 ) ;
58        TabStop = TRUE ;
59        DefButton = TRUE ;
60    };
61    CancelButton BTN_CANCEL
62    {
63        Pos = MAP_APPFONT ( 124 , 23 ) ;
64        Size = MAP_APPFONT ( 50 , 14 ) ;
65        TabStop = TRUE ;
66    };
67    HelpButton BTN_HELP
68    {
69        Pos = MAP_APPFONT ( 124 , 43 ) ;
70        Size = MAP_APPFONT ( 50 , 14 ) ;
71        TabStop = TRUE ;
72    };
73};
74
75// #i68101#
76// RID_SVXDLG_OBJECT_NAME ----------------------------------------------------------
77
78ModalDialog RID_SVXDLG_OBJECT_NAME
79{
80    HelpId = HID_DLG_OBJECT_NAME;
81    OutputSize = TRUE ;
82    SvLook = TRUE ;
83    Size = MAP_APPFONT ( 180 , 54 + 2) ;
84    Text [ en-US ] = "Name" ;
85    Moveable = TRUE ;
86
87    // name
88    FixedText NTD_FT_NAME
89    {
90        Pos = MAP_APPFONT ( 6 , 3 ) ;
91        Size = MAP_APPFONT ( 168 , 8 ) ;
92        Text [ en-US ] = "~Name";
93    };
94    Edit NTD_EDT_NAME
95    {
96        HelpID = "cui:Edit:RID_SVXDLG_OBJECT_NAME:NTD_EDT_NAME";
97        Border = TRUE ;
98        Pos = MAP_APPFONT ( 6 , 14 ) ;
99        Size = MAP_APPFONT ( 168 , 12 ) ;
100        TabStop = TRUE ;
101    };
102
103    // divider
104    FixedLine FL_SEPARATOR_A
105    {
106        Pos = MAP_APPFONT ( 0 , 39 - 6 - 2 ) ;
107        Size = MAP_APPFONT ( 180 , 8 ) ;
108    };
109
110    // Buttons
111    HelpButton BTN_HELP
112    {
113        Pos = MAP_APPFONT ( 6, 39 - 3 + 3) ;
114        Size = MAP_APPFONT ( 50 , 14 ) ;
115        TabStop = TRUE ;
116    };
117    OKButton BTN_OK
118    {
119        Pos = MAP_APPFONT ( 174 - (50 + 50 + 6), 39 - 3 + 3) ;
120        Size = MAP_APPFONT ( 50 , 14 ) ;
121        TabStop = TRUE ;
122        DefButton = TRUE ;
123    };
124    CancelButton BTN_CANCEL
125    {
126        Pos = MAP_APPFONT ( 174 - (50), 39 - 3 + 3) ;
127        Size = MAP_APPFONT ( 50 , 14 ) ;
128        TabStop = TRUE ;
129    };
130};
131
132// #i68101#
133// RID_SVXDLG_OBJECTTITLE_DESC ----------------------------------------------------------
134
135ModalDialog RID_SVXDLG_OBJECT_TITLE_DESC
136{
137    HelpId = HID_DLG_OBJECT_TITLE_DESC;
138    OutputSize = TRUE ;
139    SvLook = TRUE ;
140    Size = MAP_APPFONT ( 180 , 78 + 27 ) ;
141    Text [ en-US ] = "Description" ;
142    Moveable = TRUE ;
143
144    // title
145    FixedText NTD_FT_TITLE
146    {
147        Pos = MAP_APPFONT ( 6 , 3 ) ;
148        Size = MAP_APPFONT ( 168 , 8 ) ;
149        WordBreak = TRUE ;
150        Text [ en-US ] = "~Title";
151    };
152    Edit NTD_EDT_TITLE
153    {
154        HelpID = "cui:Edit:RID_SVXDLG_OBJECT_TITLE_DESC:NTD_EDT_TITLE";
155        Border = TRUE ;
156        Pos = MAP_APPFONT ( 6 , 14 ) ;
157        Size = MAP_APPFONT ( 168 , 12 ) ;
158        TabStop = TRUE ;
159    };
160
161    // description
162    FixedText NTD_FT_DESC
163    {
164        Pos = MAP_APPFONT ( 6 , 30 ) ;
165        Size = MAP_APPFONT ( 168 , 8 ) ;
166        WordBreak = TRUE ;
167        Text [ en-US ] = "~Description";
168    };
169    MultiLineEdit NTD_EDT_DESC
170    {
171        HelpID = "cui:MultiLineEdit:RID_SVXDLG_OBJECT_TITLE_DESC:NTD_EDT_DESC";
172        Border = TRUE ;
173        Pos = MAP_APPFONT ( 6 , 41 ) ;
174        Size = MAP_APPFONT ( 168 , (12 * 3) - 2 ) ;
175        TabStop = TRUE ;
176        IgnoreTab = TRUE;
177        VScroll = TRUE;
178    };
179
180    // divider
181    FixedLine FL_SEPARATOR_B
182    {
183        Pos = MAP_APPFONT ( 0 , 41 + 39 ) ;
184        Size = MAP_APPFONT ( 180 , 8 ) ;
185    };
186
187    // Buttons
188    HelpButton BTN_HELP
189    {
190        Pos = MAP_APPFONT ( 6, 41 + 39 + 3 + 5) ;
191        Size = MAP_APPFONT ( 50 , 14 ) ;
192        TabStop = TRUE ;
193    };
194    OKButton BTN_OK
195    {
196        Pos = MAP_APPFONT ( 174 - (50 + 50 + 6), 41 + 39 + 3 + 5) ;
197        Size = MAP_APPFONT ( 50 , 14 ) ;
198        TabStop = TRUE ;
199        DefButton = TRUE ;
200    };
201    CancelButton BTN_CANCEL
202    {
203        Pos = MAP_APPFONT ( 174 - (50), 41 + 39 + 3 + 5) ;
204        Size = MAP_APPFONT ( 50 , 14 ) ;
205        TabStop = TRUE ;
206    };
207};
208
209// RID_SVXDLG_MESSBOX -------------------------------------------------------
210
211ModalDialog RID_SVXDLG_MESSBOX
212{
213    HelpId = HID_DLG_MESSBOX ;
214    OutputSize = TRUE ;
215    SvLook = TRUE ;
216    Size = MAP_APPFONT ( 212 , 64 ) ;
217    Text = "" ;
218    Moveable = TRUE ;
219    PushButton BTN_1
220    {
221        HelpID = "cui:PushButton:RID_SVXDLG_MESSBOX:BTN_1";
222        Pos = MAP_APPFONT ( 25 , 44 ) ;
223        Size = MAP_APPFONT ( 50 , 14 ) ;
224        TabStop = TRUE ;
225    };
226    PushButton BTN_2
227    {
228        HelpID = "cui:PushButton:RID_SVXDLG_MESSBOX:BTN_2";
229        Pos = MAP_APPFONT ( 78 , 44 ) ;
230        Size = MAP_APPFONT ( 50 , 14 ) ;
231        TabStop = TRUE ;
232    };
233    CancelButton BTN_CANCEL
234    {
235        Pos = MAP_APPFONT ( 131 , 44 ) ;
236        Size = MAP_APPFONT ( 50 , 14 ) ;
237        TabStop = TRUE ;
238    };
239    FixedText FT_DESCRIPTION
240    {
241        Pos = MAP_APPFONT ( 28 , 6 ) ;
242        Size = MAP_APPFONT ( 200 , 35 ) ;
243        WordBreak = TRUE ;
244    };
245};
246 // ********************************************************************** EOF
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272