xref: /AOO41X/main/sw/source/ui/table/tautofmt.src (revision 8660f102e0dedad7df9a3fe0f3e5d0f91bcf072b)
1*8660f102SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*8660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*8660f102SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*8660f102SAndrew Rist * distributed with this work for additional information
6*8660f102SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*8660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*8660f102SAndrew Rist * "License"); you may not use this file except in compliance
9*8660f102SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
11*8660f102SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
13*8660f102SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*8660f102SAndrew Rist * software distributed under the License is distributed on an
15*8660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*8660f102SAndrew Rist * KIND, either express or implied.  See the License for the
17*8660f102SAndrew Rist * specific language governing permissions and limitations
18*8660f102SAndrew Rist * under the License.
19cdf0e10cSrcweir *
20*8660f102SAndrew Rist *************************************************************/
21*8660f102SAndrew Rist
22*8660f102SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "tautofmt.hrc"
25cdf0e10cSrcweir#include "helpid.h"
26cdf0e10cSrcweirModalDialog DLG_AUTOFMT_TABLE
27cdf0e10cSrcweir{
28cdf0e10cSrcweir    OutputSize = TRUE ;
29cdf0e10cSrcweir    SVLook = TRUE ;
30cdf0e10cSrcweir    HelpID = HID_AUTOFMT_TABLE ;
31cdf0e10cSrcweir    Size = MAP_APPFONT ( 312 , 120 ) ;
32cdf0e10cSrcweir    Text [ en-US ] = "AutoFormat" ;
33cdf0e10cSrcweir    Moveable = TRUE ;
34cdf0e10cSrcweir    FixedLine FL_FORMAT
35cdf0e10cSrcweir    {
36cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
37cdf0e10cSrcweir        Size = MAP_APPFONT ( 243 , 8 ) ;
38cdf0e10cSrcweir        Text [ en-US ] = "Format" ;
39cdf0e10cSrcweir    };
40cdf0e10cSrcweir    ListBox LB_FORMAT
41cdf0e10cSrcweir    {
42cdf0e10cSrcweir        HelpID = "sw:ListBox:DLG_AUTOFMT_TABLE:LB_FORMAT";
43cdf0e10cSrcweir        Border = TRUE ;
44cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 14 ) ;
45cdf0e10cSrcweir        Size = MAP_APPFONT ( 65 , 100 ) ;
46cdf0e10cSrcweir        TabStop = TRUE ;
47cdf0e10cSrcweir    };
48cdf0e10cSrcweir    Window WND_PREVIEW
49cdf0e10cSrcweir    {
50cdf0e10cSrcweir        Pos = MAP_APPFONT ( 83 , 14 ) ;
51cdf0e10cSrcweir        Size = MAP_APPFONT ( 161 , 100 ) ;
52cdf0e10cSrcweir        Border = TRUE;
53cdf0e10cSrcweir    };
54cdf0e10cSrcweir    CheckBox BTN_NUMFORMAT
55cdf0e10cSrcweir    {
56cdf0e10cSrcweir        HelpID = "sw:CheckBox:DLG_AUTOFMT_TABLE:BTN_NUMFORMAT";
57cdf0e10cSrcweir        Hide = TRUE ;
58cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 131 ) ;
59cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 10 ) ;
60cdf0e10cSrcweir        Text [ en-US ] = "~Number format" ;
61cdf0e10cSrcweir        TabStop = TRUE ;
62cdf0e10cSrcweir    };
63cdf0e10cSrcweir    CheckBox BTN_BORDER
64cdf0e10cSrcweir    {
65cdf0e10cSrcweir        HelpID = "sw:CheckBox:DLG_AUTOFMT_TABLE:BTN_BORDER";
66cdf0e10cSrcweir        Hide = TRUE ;
67cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 147 ) ;
68cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 10 ) ;
69cdf0e10cSrcweir        Text [ en-US ] = "~Borders" ;
70cdf0e10cSrcweir        TabStop = TRUE ;
71cdf0e10cSrcweir    };
72cdf0e10cSrcweir    CheckBox BTN_FONT
73cdf0e10cSrcweir    {
74cdf0e10cSrcweir        HelpID = "sw:CheckBox:DLG_AUTOFMT_TABLE:BTN_FONT";
75cdf0e10cSrcweir        Hide = TRUE ;
76cdf0e10cSrcweir        Pos = MAP_APPFONT ( 85 , 131 ) ;
77cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 10 ) ;
78cdf0e10cSrcweir        Text [ en-US ] = "F~ont" ;
79cdf0e10cSrcweir        TabStop = TRUE ;
80cdf0e10cSrcweir    };
81cdf0e10cSrcweir    CheckBox BTN_PATTERN
82cdf0e10cSrcweir    {
83cdf0e10cSrcweir        HelpID = "sw:CheckBox:DLG_AUTOFMT_TABLE:BTN_PATTERN";
84cdf0e10cSrcweir        Hide = TRUE ;
85cdf0e10cSrcweir        Pos = MAP_APPFONT ( 85 , 147 ) ;
86cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 10 ) ;
87cdf0e10cSrcweir        Text [ en-US ] = "~Pattern" ;
88cdf0e10cSrcweir        TabStop = TRUE ;
89cdf0e10cSrcweir    };
90cdf0e10cSrcweir    CheckBox BTN_ALIGNMENT
91cdf0e10cSrcweir    {
92cdf0e10cSrcweir        HelpID = "sw:CheckBox:DLG_AUTOFMT_TABLE:BTN_ALIGNMENT";
93cdf0e10cSrcweir        Hide = TRUE ;
94cdf0e10cSrcweir        Pos = MAP_APPFONT ( 150 , 131 ) ;
95cdf0e10cSrcweir        Size = MAP_APPFONT ( 60 , 10 ) ;
96cdf0e10cSrcweir        Text [ en-US ] = "Alignmen~t" ;
97cdf0e10cSrcweir        TabStop = TRUE ;
98cdf0e10cSrcweir    };
99cdf0e10cSrcweir    FixedLine FL_FORMATS
100cdf0e10cSrcweir    {
101cdf0e10cSrcweir        Hide = TRUE ;
102cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 120 ) ;
103cdf0e10cSrcweir        Size = MAP_APPFONT ( 243 , 8 ) ;
104cdf0e10cSrcweir        Text [ en-US ] = "Formatting" ;
105cdf0e10cSrcweir    };
106cdf0e10cSrcweir    OKButton BTN_OK
107cdf0e10cSrcweir    {
108cdf0e10cSrcweir        Pos = MAP_APPFONT ( 255 , 6 ) ;
109cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
110cdf0e10cSrcweir        TabStop = TRUE ;
111cdf0e10cSrcweir        DefButton = TRUE ;
112cdf0e10cSrcweir    };
113cdf0e10cSrcweir    CancelButton BTN_CANCEL
114cdf0e10cSrcweir    {
115cdf0e10cSrcweir        Pos = MAP_APPFONT ( 255 , 23 ) ;
116cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
117cdf0e10cSrcweir        TabStop = TRUE ;
118cdf0e10cSrcweir    };
119cdf0e10cSrcweir    MoreButton BTN_MORE
120cdf0e10cSrcweir    {
121cdf0e10cSrcweir        HelpID = "sw:MoreButton:DLG_AUTOFMT_TABLE:BTN_MORE";
122cdf0e10cSrcweir        Pos = MAP_APPFONT ( 255 , 101 ) ;
123cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
124cdf0e10cSrcweir        Text [ en-US ] = "~More" ;
125cdf0e10cSrcweir        TabStop = TRUE ;
126cdf0e10cSrcweir        MapUnit = MAP_APPFONT ;
127cdf0e10cSrcweir        Delta = 48 ;
128cdf0e10cSrcweir    };
129cdf0e10cSrcweir    PushButton BTN_ADD
130cdf0e10cSrcweir    {
131cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_AUTOFMT_TABLE:BTN_ADD";
132cdf0e10cSrcweir        Pos = MAP_APPFONT ( 255 , 64 ) ;
133cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
134cdf0e10cSrcweir        Text [ en-US ] = "~Add" ;
135cdf0e10cSrcweir        TabStop = TRUE ;
136cdf0e10cSrcweir    };
137cdf0e10cSrcweir    PushButton BTN_REMOVE
138cdf0e10cSrcweir    {
139cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_AUTOFMT_TABLE:BTN_REMOVE";
140cdf0e10cSrcweir        Pos = MAP_APPFONT ( 255 , 81 ) ;
141cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
142cdf0e10cSrcweir        Text [ en-US ] = "~Delete" ;
143cdf0e10cSrcweir        TabStop = TRUE ;
144cdf0e10cSrcweir    };
145cdf0e10cSrcweir    PushButton BTN_RENAME
146cdf0e10cSrcweir    {
147cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_AUTOFMT_TABLE:BTN_RENAME";
148cdf0e10cSrcweir        Pos = MAP_APPFONT ( 255 , 123 ) ;
149cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
150cdf0e10cSrcweir        TabStop = TRUE ;
151cdf0e10cSrcweir        Text [ en-US ] = "~Rename" ;
152cdf0e10cSrcweir    };
153cdf0e10cSrcweir    HelpButton BTN_HELP
154cdf0e10cSrcweir    {
155cdf0e10cSrcweir        Pos = MAP_APPFONT ( 255 , 43 ) ;
156cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
157cdf0e10cSrcweir        TabStop = TRUE ;
158cdf0e10cSrcweir    };
159cdf0e10cSrcweir    String STR_ADD_TITLE
160cdf0e10cSrcweir    {
161cdf0e10cSrcweir        Text [ en-US ] = "Add AutoFormat" ;
162cdf0e10cSrcweir    };
163cdf0e10cSrcweir    String STR_ADD_LABEL
164cdf0e10cSrcweir    {
165cdf0e10cSrcweir        Text [ en-US ] = "Name" ;
166cdf0e10cSrcweir    };
167cdf0e10cSrcweir    String STR_DEL_TITLE
168cdf0e10cSrcweir    {
169cdf0e10cSrcweir        Text [ en-US ] = "Delete AutoFormat" ;
170cdf0e10cSrcweir    };
171cdf0e10cSrcweir    String STR_DEL_MSG
172cdf0e10cSrcweir    {
173cdf0e10cSrcweir        Text [ en-US ] = "The following AutoFormat entry will be deleted:" ;
174cdf0e10cSrcweir    };
175cdf0e10cSrcweir    String STR_RENAME_TITLE
176cdf0e10cSrcweir    {
177cdf0e10cSrcweir        Text [ en-US ] = "Rename AutoFormat" ;
178cdf0e10cSrcweir    };
179cdf0e10cSrcweir    String STR_BTN_CLOSE
180cdf0e10cSrcweir    {
181cdf0e10cSrcweir        Text [ en-US ] = "~Close" ;
182cdf0e10cSrcweir    };
183cdf0e10cSrcweir    String STR_JAN
184cdf0e10cSrcweir    {
185cdf0e10cSrcweir        Text [ en-US ] = "Jan" ;
186cdf0e10cSrcweir    };
187cdf0e10cSrcweir    String STR_FEB
188cdf0e10cSrcweir    {
189cdf0e10cSrcweir        Text [ en-US ] = "Feb" ;
190cdf0e10cSrcweir    };
191cdf0e10cSrcweir    String STR_MAR
192cdf0e10cSrcweir    {
193cdf0e10cSrcweir        Text [ en-US ] = "Mar" ;
194cdf0e10cSrcweir    };
195cdf0e10cSrcweir    String STR_NORTH
196cdf0e10cSrcweir    {
197cdf0e10cSrcweir        Text [ en-US ] = "North" ;
198cdf0e10cSrcweir    };
199cdf0e10cSrcweir    String STR_MID
200cdf0e10cSrcweir    {
201cdf0e10cSrcweir        Text [ en-US ] = "Mid" ;
202cdf0e10cSrcweir    };
203cdf0e10cSrcweir    String STR_SOUTH
204cdf0e10cSrcweir    {
205cdf0e10cSrcweir        Text [ en-US ] = "South" ;
206cdf0e10cSrcweir    };
207cdf0e10cSrcweir    String STR_SUM
208cdf0e10cSrcweir    {
209cdf0e10cSrcweir        Text [ en-US ] = "Sum" ;
210cdf0e10cSrcweir    };
211cdf0e10cSrcweir    String STR_INVALID_AFNAME
212cdf0e10cSrcweir    {
213cdf0e10cSrcweir        /* ### ACHTUNG: Neuer Text in Resource? Sie haben einen ung�ltigen Namen angegeben.\nDas AutoFormat konnte nicht angelegt werden.\nW�hlen Sie einen anderen Namen. : Sie haben einen ung�ltigen Namen angegeben.\nDas Autoformat konnte nicht angelegt werden.\nW�hlen Sie einen anderen Namen. */
214cdf0e10cSrcweir        /* ### ACHTUNG: Neuer Text in Resource? Sie haben einen ung�ltigen Namen angegeben.\nDas AutoFormat konnte nicht angelegt werden.\nW�hlen Sie einen anderen Namen. : Sie haben einen ung�ltigen Namen angegeben.\nDas Autoformat konnte nicht angelegt werden.\nW�hlen Sie einen anderen Namen. */
215cdf0e10cSrcweir        Text [ en-US ] = "You have entered an invalid name.\nThe desired AutoFormat could not be created. \nTry again using a different name." ;
216cdf0e10cSrcweir    };
217cdf0e10cSrcweir};
218cdf0e10cSrcweirModalDialog DLG_SWDLG_STRINPUT
219cdf0e10cSrcweir{
220cdf0e10cSrcweir    OutputSize = TRUE ;
221cdf0e10cSrcweir    SVLook = TRUE ;
222cdf0e10cSrcweir    Size = MAP_APPFONT ( 172 , 63 ) ;
223cdf0e10cSrcweir    Moveable = TRUE ;
224cdf0e10cSrcweir    Closeable = TRUE ;
225cdf0e10cSrcweir    HelpID = HID_SWDLG_STRINPUT ;
226cdf0e10cSrcweir    Edit ED_INPUT
227cdf0e10cSrcweir    {
228cdf0e10cSrcweir        HelpID = "sw:Edit:DLG_SWDLG_STRINPUT:ED_INPUT";
229cdf0e10cSrcweir        Border = TRUE ;
230cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 24 ) ;
231cdf0e10cSrcweir        Size = MAP_APPFONT ( 104 , 12 ) ;
232cdf0e10cSrcweir        TabStop = TRUE ;
233cdf0e10cSrcweir    };
234cdf0e10cSrcweir    FixedText FT_LABEL
235cdf0e10cSrcweir    {
236cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 13 ) ;
237cdf0e10cSrcweir        Size = MAP_APPFONT ( 90 , 10 ) ;
238cdf0e10cSrcweir        Text = "Label" ;
239cdf0e10cSrcweir    };
240cdf0e10cSrcweir    OKButton BTN_OK
241cdf0e10cSrcweir    {
242cdf0e10cSrcweir        Pos = MAP_APPFONT ( 116 , 6 ) ;
243cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
244cdf0e10cSrcweir        TabStop = TRUE ;
245cdf0e10cSrcweir        DefButton = TRUE ;
246cdf0e10cSrcweir    };
247cdf0e10cSrcweir    CancelButton BTN_CANCEL
248cdf0e10cSrcweir    {
249cdf0e10cSrcweir        Pos = MAP_APPFONT ( 116 , 23 ) ;
250cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
251cdf0e10cSrcweir        TabStop = TRUE ;
252cdf0e10cSrcweir    };
253cdf0e10cSrcweir};
254cdf0e10cSrcweir
255cdf0e10cSrcweir
256cdf0e10cSrcweir
257cdf0e10cSrcweir
258cdf0e10cSrcweir
259cdf0e10cSrcweir
260cdf0e10cSrcweir
261cdf0e10cSrcweir
262cdf0e10cSrcweir
263cdf0e10cSrcweir
264cdf0e10cSrcweir
265cdf0e10cSrcweir
266cdf0e10cSrcweir
267cdf0e10cSrcweir
268cdf0e10cSrcweir
269cdf0e10cSrcweir
270cdf0e10cSrcweir
271cdf0e10cSrcweir
272cdf0e10cSrcweir
273cdf0e10cSrcweir
274cdf0e10cSrcweir
275cdf0e10cSrcweir
276cdf0e10cSrcweir
277cdf0e10cSrcweir
278cdf0e10cSrcweir
279cdf0e10cSrcweir
280cdf0e10cSrcweir
281cdf0e10cSrcweir
282cdf0e10cSrcweir
283cdf0e10cSrcweir
284cdf0e10cSrcweir
285cdf0e10cSrcweir
286cdf0e10cSrcweir
287cdf0e10cSrcweir
288cdf0e10cSrcweir
289cdf0e10cSrcweir
290cdf0e10cSrcweir
291cdf0e10cSrcweir
292cdf0e10cSrcweir
293cdf0e10cSrcweir
294cdf0e10cSrcweir
295cdf0e10cSrcweir
296cdf0e10cSrcweir
297cdf0e10cSrcweir
298cdf0e10cSrcweir
299cdf0e10cSrcweir
300cdf0e10cSrcweir
301cdf0e10cSrcweir
302cdf0e10cSrcweir
303cdf0e10cSrcweir
304