xref: /trunk/main/sw/source/ui/table/tautofmt.src (revision 6cb06142790376a2c58e6392182eb071420a4221)
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 "tautofmt.hrc"
25#include "helpid.h"
26ModalDialog DLG_AUTOFMT_TABLE
27{
28    OutputSize = TRUE ;
29    SVLook = TRUE ;
30    HelpID = HID_AUTOFMT_TABLE ;
31    Size = MAP_APPFONT ( 312, 120 ) ;
32    Text [ en-US ] = "AutoFormat" ;
33    Moveable = TRUE ;
34    FixedLine FL_FORMAT
35    {
36        Pos = MAP_APPFONT ( 6, 3 ) ;
37        Size = MAP_APPFONT ( 243, 8 ) ;
38        Text [ en-US ] = "Format" ;
39    };
40    ListBox LB_FORMAT
41    {
42        HelpID = "sw:ListBox:DLG_AUTOFMT_TABLE:LB_FORMAT" ;
43        Border = TRUE ;
44        Pos = MAP_APPFONT ( 12, 14 ) ;
45        Size = MAP_APPFONT ( 65, 100 ) ;
46        TabStop = TRUE ;
47    };
48    Window WND_PREVIEW
49    {
50        Pos = MAP_APPFONT ( 83, 14 ) ;
51        Size = MAP_APPFONT ( 161, 100 ) ;
52        Border = TRUE ;
53    };
54    CheckBox BTN_NUMFORMAT
55    {
56        HelpID = "sw:CheckBox:DLG_AUTOFMT_TABLE:BTN_NUMFORMAT" ;
57        Hide = TRUE ;
58        Pos = MAP_APPFONT ( 12, 131 ) ;
59        Size = MAP_APPFONT ( 60, 10 ) ;
60        Text [ en-US ] = "~Number format" ;
61        TabStop = TRUE ;
62    };
63    CheckBox BTN_BORDER
64    {
65        HelpID = "sw:CheckBox:DLG_AUTOFMT_TABLE:BTN_BORDER" ;
66        Hide = TRUE ;
67        Pos = MAP_APPFONT ( 12, 147 ) ;
68        Size = MAP_APPFONT ( 60, 10 ) ;
69        Text [ en-US ] = "~Borders" ;
70        TabStop = TRUE ;
71    };
72    CheckBox BTN_FONT
73    {
74        HelpID = "sw:CheckBox:DLG_AUTOFMT_TABLE:BTN_FONT" ;
75        Hide = TRUE ;
76        Pos = MAP_APPFONT ( 85, 131 ) ;
77        Size = MAP_APPFONT ( 60, 10 ) ;
78        Text [ en-US ] = "F~ont" ;
79        TabStop = TRUE ;
80    };
81    CheckBox BTN_PATTERN
82    {
83        HelpID = "sw:CheckBox:DLG_AUTOFMT_TABLE:BTN_PATTERN" ;
84        Hide = TRUE ;
85        Pos = MAP_APPFONT ( 85, 147 ) ;
86        Size = MAP_APPFONT ( 60, 10 ) ;
87        Text [ en-US ] = "~Pattern" ;
88        TabStop = TRUE ;
89    };
90    CheckBox BTN_ALIGNMENT
91    {
92        HelpID = "sw:CheckBox:DLG_AUTOFMT_TABLE:BTN_ALIGNMENT" ;
93        Hide = TRUE ;
94        Pos = MAP_APPFONT ( 150, 131 ) ;
95        Size = MAP_APPFONT ( 60, 10 ) ;
96        Text [ en-US ] = "Alignmen~t" ;
97        TabStop = TRUE ;
98    };
99    FixedLine FL_FORMATS
100    {
101        Hide = TRUE ;
102        Pos = MAP_APPFONT ( 6, 120 ) ;
103        Size = MAP_APPFONT ( 243, 8 ) ;
104        Text [ en-US ] = "Formatting" ;
105    };
106    OKButton BTN_OK
107    {
108        Pos = MAP_APPFONT ( 255, 6 ) ;
109        Size = MAP_APPFONT ( 50, 14 ) ;
110        TabStop = TRUE ;
111        DefButton = TRUE ;
112    };
113    CancelButton BTN_CANCEL
114    {
115        Pos = MAP_APPFONT ( 255, 23 ) ;
116        Size = MAP_APPFONT ( 50, 14 ) ;
117        TabStop = TRUE ;
118    };
119    MoreButton BTN_MORE
120    {
121        HelpID = "sw:MoreButton:DLG_AUTOFMT_TABLE:BTN_MORE" ;
122        Pos = MAP_APPFONT ( 255, 101 ) ;
123        Size = MAP_APPFONT ( 50, 14 ) ;
124        Text [ en-US ] = "~More" ;
125        TabStop = TRUE ;
126        MapUnit = MAP_APPFONT ;
127        Delta = 48 ;
128    };
129    PushButton BTN_ADD
130    {
131        HelpID = "sw:PushButton:DLG_AUTOFMT_TABLE:BTN_ADD" ;
132        Pos = MAP_APPFONT ( 255, 64 ) ;
133        Size = MAP_APPFONT ( 50, 14 ) ;
134        Text [ en-US ] = "~Add" ;
135        TabStop = TRUE ;
136    };
137    PushButton BTN_REMOVE
138    {
139        HelpID = "sw:PushButton:DLG_AUTOFMT_TABLE:BTN_REMOVE" ;
140        Pos = MAP_APPFONT ( 255, 81 ) ;
141        Size = MAP_APPFONT ( 50, 14 ) ;
142        Text [ en-US ] = "~Delete" ;
143        TabStop = TRUE ;
144    };
145    PushButton BTN_RENAME
146    {
147        HelpID = "sw:PushButton:DLG_AUTOFMT_TABLE:BTN_RENAME" ;
148        Pos = MAP_APPFONT ( 255, 123 ) ;
149        Size = MAP_APPFONT ( 50, 14 ) ;
150        TabStop = TRUE ;
151        Text [ en-US ] = "~Rename" ;
152    };
153    HelpButton BTN_HELP
154    {
155        Pos = MAP_APPFONT ( 255, 43 ) ;
156        Size = MAP_APPFONT ( 50, 14 ) ;
157        TabStop = TRUE ;
158    };
159    String STR_ADD_TITLE
160    {
161        Text [ en-US ] = "Add AutoFormat" ;
162    };
163    String STR_ADD_LABEL
164    {
165        Text [ en-US ] = "Name" ;
166    };
167    String STR_DEL_TITLE
168    {
169        Text [ en-US ] = "Delete AutoFormat" ;
170    };
171    String STR_DEL_MSG
172    {
173        Text [ en-US ] = "The following AutoFormat entry will be deleted:" ;
174    };
175    String STR_RENAME_TITLE
176    {
177        Text [ en-US ] = "Rename AutoFormat" ;
178    };
179    String STR_BTN_CLOSE
180    {
181        Text [ en-US ] = "~Close" ;
182    };
183    String STR_JAN
184    {
185        Text [ en-US ] = "Jan" ;
186    };
187    String STR_FEB
188    {
189        Text [ en-US ] = "Feb" ;
190    };
191    String STR_MAR
192    {
193        Text [ en-US ] = "Mar" ;
194    };
195    String STR_NORTH
196    {
197        Text [ en-US ] = "North" ;
198    };
199    String STR_MID
200    {
201        Text [ en-US ] = "Mid" ;
202    };
203    String STR_SOUTH
204    {
205        Text [ en-US ] = "South" ;
206    };
207    String STR_SUM
208    {
209        Text [ en-US ] = "Sum" ;
210    };
211    String STR_INVALID_AFNAME
212    {
213        Text [ en-US ] = "You have entered an invalid name.\nThe desired AutoFormat could not be created.\nTry again using a different name." ;
214    };
215};
216ModalDialog DLG_SWDLG_STRINPUT
217{
218    OutputSize = TRUE ;
219    SVLook = TRUE ;
220    Size = MAP_APPFONT ( 172, 63 ) ;
221    Moveable = TRUE ;
222    Closeable = TRUE ;
223    HelpID = HID_SWDLG_STRINPUT ;
224    Edit ED_INPUT
225    {
226        HelpID = "sw:Edit:DLG_SWDLG_STRINPUT:ED_INPUT" ;
227        Border = TRUE ;
228        Pos = MAP_APPFONT ( 6, 24 ) ;
229        Size = MAP_APPFONT ( 104, 12 ) ;
230        TabStop = TRUE ;
231    };
232    FixedText FT_LABEL
233    {
234        Pos = MAP_APPFONT ( 6, 13 ) ;
235        Size = MAP_APPFONT ( 90, 10 ) ;
236        Text = "Label" ;
237    };
238    OKButton BTN_OK
239    {
240        Pos = MAP_APPFONT ( 116, 6 ) ;
241        Size = MAP_APPFONT ( 50, 14 ) ;
242        TabStop = TRUE ;
243        DefButton = TRUE ;
244    };
245    CancelButton BTN_CANCEL
246    {
247        Pos = MAP_APPFONT ( 116, 23 ) ;
248        Size = MAP_APPFONT ( 50, 14 ) ;
249        TabStop = TRUE ;
250    };
251};
252
253// ********************************************************************** EOF
254