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