xref: /trunk/main/sc/source/ui/src/namedlg.src (revision 033ed79537b07af43f0f091b11f5dc308cb4c9ad)
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 "namedlg.hrc"
25ModelessDialog RID_SCDLG_NAMES
26{
27    OutputSize = TRUE ;
28    HelpId = CMD_FID_DEFINE_NAME ;
29    Hide = TRUE ;
30    SVLook = TRUE ;
31    Size = MAP_APPFONT ( 222, 142 ) ;
32    Text [ en-US ] = "Define Names" ;
33    Moveable = TRUE ;
34    // Closeable = TRUE; // This dialog has a Cancel button!
35    OKButton BTN_OK
36    {
37        Pos = MAP_APPFONT ( 166, 6 ) ;
38        Size = MAP_APPFONT ( 50, 14 ) ;
39        TabStop = TRUE ;
40    };
41    CancelButton BTN_CANCEL
42    {
43        Pos = MAP_APPFONT ( 166, 23 ) ;
44        Size = MAP_APPFONT ( 50, 14 ) ;
45        TabStop = TRUE ;
46    };
47    HelpButton BTN_HELP
48    {
49        Pos = MAP_APPFONT ( 166, 43 ) ;
50        Size = MAP_APPFONT ( 50, 14 ) ;
51        TabStop = TRUE ;
52    };
53    PushButton BTN_ADD
54    {
55        HelpID = "sc:PushButton:RID_SCDLG_NAMES:BTN_ADD" ;
56        Pos = MAP_APPFONT ( 166, 74 ) ;
57        Size = MAP_APPFONT ( 50, 14 ) ;
58        Text [ en-US ] = "~Add" ;
59        TabStop = TRUE ;
60        DefButton = TRUE ;
61    };
62    PushButton BTN_REMOVE
63    {
64        HelpID = "sc:PushButton:RID_SCDLG_NAMES:BTN_REMOVE" ;
65        Pos = MAP_APPFONT ( 166, 92 ) ;
66        Size = MAP_APPFONT ( 50, 14 ) ;
67        Text [ en-US ] = "~Delete" ;
68        TabStop = TRUE ;
69    };
70    FixedLine FL_NAME
71    {
72        Pos = MAP_APPFONT ( 6, 3 ) ;
73        Size = MAP_APPFONT ( 154, 8 ) ;
74        Text [ en-US ] = "Name" ;
75    };
76/*
77    ComboBox ED_NAME
78    {
79        Pos = MAP_APPFONT ( 12, 14 ) ;
80        Size = MAP_APPFONT ( 145, 92 ) ;
81        TabStop = TRUE ;
82        VScroll = TRUE ;
83        Sort = TRUE ;
84    };
85*/
86        Edit ED_NAME
87    {
88    Border = TRUE ;
89        Pos = MAP_APPFONT ( 12, 14 ) ;
90        Size = MAP_APPFONT ( 145, 11 ) ;
91    };
92
93    ListBox LB_NAMES
94    {
95    Border = TRUE ;
96        Pos = MAP_APPFONT ( 12, 25 ) ;
97        Size = MAP_APPFONT ( 145, 84 ) ;
98        TabStop = TRUE ;
99        VScroll = TRUE ;
100        AutoHScroll = TRUE ;
101        Sort = TRUE ;
102    };
103    FixedLine FL_ASSIGN
104    {
105        Pos = MAP_APPFONT ( 6, 112 ) ;
106        Size = MAP_APPFONT ( 154, 8 ) ;
107        Text [ en-US ] = "Assigned to" ;
108    };
109    Edit ED_ASSIGN
110    {
111        HelpID = "sc:Edit:RID_SCDLG_NAMES:ED_ASSIGN" ;
112        Border = TRUE ;
113        Pos = MAP_APPFONT ( 12, 123 ) ;
114        Size = MAP_APPFONT ( 131, 12 ) ;
115        TabStop = TRUE ;
116    };
117    ImageButton RB_ASSIGN
118    {
119        HelpID = "sc:ImageButton:RID_SCDLG_NAMES:RB_ASSIGN" ;
120        Pos = MAP_APPFONT ( 145, 122 ) ;
121        Size = MAP_APPFONT ( 13, 15 ) ;
122        TabStop = FALSE ;
123        QuickHelpText [ en-US ] = "Shrink" ;
124    };
125    MoreButton BTN_MORE
126    {
127        HelpID = "sc:MoreButton:RID_SCDLG_NAMES:BTN_MORE" ;
128        Pos = MAP_APPFONT ( 166, 122 ) ;
129        Size = MAP_APPFONT ( 50, 14 ) ;
130        TabStop = TRUE ;
131        MapUnit = MAP_APPFONT ;
132        Delta = 41 ;
133    };
134    FixedLine FL_TYPE
135    {
136        Pos = MAP_APPFONT ( 6, 142 ) ;
137        Size = MAP_APPFONT ( 154, 8 ) ;
138        Text [ en-US ] = "Area type" ;
139    };
140    CheckBox BTN_PRINTAREA
141    {
142        HelpID = "sc:CheckBox:RID_SCDLG_NAMES:BTN_PRINTAREA" ;
143        Pos = MAP_APPFONT ( 12, 153 ) ;
144        Size = MAP_APPFONT ( 60, 10 ) ;
145        Text [ en-US ] = "~Print range" ;
146        TabStop = TRUE ;
147    };
148    CheckBox BTN_CRITERIA
149    {
150        HelpID = "sc:CheckBox:RID_SCDLG_NAMES:BTN_CRITERIA" ;
151        Pos = MAP_APPFONT ( 12, 167 ) ;
152        Size = MAP_APPFONT ( 60, 10 ) ;
153        Text [ en-US ] = "~Filter" ;
154        TabStop = TRUE ;
155    };
156    CheckBox BTN_ROWHEADER
157    {
158        HelpID = "sc:CheckBox:RID_SCDLG_NAMES:BTN_ROWHEADER" ;
159        Pos = MAP_APPFONT ( 75, 167 ) ;
160        Size = MAP_APPFONT ( 82, 10 ) ;
161        Text [ en-US ] = "Repeat ~row" ;
162        TabStop = TRUE ;
163    };
164    CheckBox BTN_COLHEADER
165    {
166        HelpID = "sc:CheckBox:RID_SCDLG_NAMES:BTN_COLHEADER" ;
167        Pos = MAP_APPFONT ( 75, 153 ) ;
168        Size = MAP_APPFONT ( 82, 10 ) ;
169        Text [ en-US ] = "Repeat ~column" ;
170        TabStop = TRUE ;
171    };
172    String STR_ADD
173    {
174        Text [ en-US ] = "~Add" ;
175    };
176    String STR_MODIFY
177    {
178        Text [ en-US ] = "Mod~ify" ;
179    };
180    String STR_INVALIDSYMBOL
181    {
182        Text [ en-US ] = "Invalid expression" ;
183    };
184};
185
186// ********************************************************************** EOF
187