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