xref: /trunk/main/sc/source/ui/src/subtdlg.src (revision fc9fd3f14a55d77b35643a64034752a178b2a5b0)
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 "subtdlg.hrc"
29
30TabPage RID_SCPAGE_SUBT_OPTIONS
31{
32    HelpId = HID_SCPAGE_SUBT_OPTIONS ;
33    Pos = MAP_APPFONT ( 0 , 0 ) ;
34    Size = MAP_APPFONT ( 260 , 185 ) ;
35    Hide = TRUE ;
36    FixedLine FL_GROUP
37    {
38        Pos = MAP_APPFONT ( 6 , 3 ) ;
39        Size = MAP_APPFONT ( 248 , 8 ) ;
40        Text [ en-US ] = "Groups";
41    };
42    CheckBox BTN_PAGEBREAK
43    {
44        HelpID = "sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_PAGEBREAK";
45        Pos = MAP_APPFONT ( 12 , 14 ) ;
46        Size = MAP_APPFONT ( 239 , 10 ) ;
47        Text [ en-US ] = "~Page break between groups" ;
48        TabStop = TRUE ;
49    };
50    CheckBox BTN_CASE
51    {
52        HelpID = "sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_CASE";
53        Pos = MAP_APPFONT ( 12 , 28 ) ;
54        Size = MAP_APPFONT ( 239 , 10 ) ;
55        /* ### ACHTUNG: Neuer Text in Resource? ~Gro�-/Kleinschreibung beachten : ~Gro�-/Kleinschreibung beachten */
56        Text [ en-US ] = "~Case sensitive" ;
57        TabStop = TRUE ;
58    };
59    CheckBox BTN_SORT
60    {
61        HelpID = "sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_SORT";
62        Pos = MAP_APPFONT ( 12 , 42 ) ;
63        Size = MAP_APPFONT ( 239 , 10 ) ;
64        Text [ en-US ] = "Pre-~sort area according to groups" ;
65        TabStop = TRUE ;
66    };
67    CheckBox BTN_FORMATS
68    {
69        HelpID = "sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_FORMATS";
70        Pos = MAP_APPFONT ( 12 , 101 ) ;
71        Size = MAP_APPFONT ( 239 , 10 ) ;
72        /* ### ACHTUNG: Neuer Text in Resource? ~Formate einschlie�en : ~Formate einschlie�en */
73        Text [ en-US ] = "I~nclude formats" ;
74        TabStop = TRUE ;
75    };
76    CheckBox BTN_USERDEF
77    {
78        HelpID = "sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_USERDEF";
79        Pos = MAP_APPFONT ( 12 , 115 ) ;
80        Size = MAP_APPFONT ( 239 , 10 ) ;
81        Text [ en-US ] = "C~ustom sort order" ;
82        TabStop = TRUE ;
83    };
84    ListBox LB_USERDEF
85    {
86        HelpID = "sc:ListBox:RID_SCPAGE_SUBT_OPTIONS:LB_USERDEF";
87        Border = TRUE ;
88        Pos = MAP_APPFONT ( 20 , 127 ) ;
89        Size = MAP_APPFONT ( 231 , 90 ) ;
90        TabStop = TRUE ;
91        DropDown = TRUE ;
92    };
93    RadioButton BTN_ASCENDING
94    {
95        HelpID = "sc:RadioButton:RID_SCPAGE_SUBT_OPTIONS:BTN_ASCENDING";
96        Pos = MAP_APPFONT ( 12 , 69 ) ;
97        Size = MAP_APPFONT ( 239 , 10 ) ;
98        Text [ en-US ] = "~Ascending" ;
99        TabStop = TRUE ;
100    };
101    RadioButton BTN_DESCENDING
102    {
103        HelpID = "sc:RadioButton:RID_SCPAGE_SUBT_OPTIONS:BTN_DESCENDING";
104        Pos = MAP_APPFONT ( 12 , 83 ) ;
105        Size = MAP_APPFONT ( 239 , 10 ) ;
106        Text [ en-US ] = "D~escending" ;
107        TabStop = TRUE ;
108    };
109    FixedLine FL_SORT
110    {
111        Pos = MAP_APPFONT ( 6 , 58 ) ;
112        Size = MAP_APPFONT ( 248 , 8 ) ;
113        Text [ en-US ] = "Sort" ;
114    };
115};
116
117
118TabPage RID_SUBTBASE
119{
120     // Die Elemente haben hart vergebene Hilfe-IDs, weil automatisch generierte
121     // aus den Ableitungen nicht in der HID-Liste auftauchen wuerden
122    HelpId = HID_SCPAGE_SUBT_GROUP ;
123    Pos = MAP_APPFONT ( 0 , 0 ) ;
124    Size = MAP_APPFONT ( 260 , 185 ) ;
125    Hide = TRUE ;
126    FixedText FT_GROUP
127    {
128        Pos = MAP_APPFONT ( 6 , 3 ) ;
129        Size = MAP_APPFONT ( 121 , 8 ) ;
130        Text [ en-US ] = "~Group by" ;
131    };
132    ListBox LB_GROUP
133    {
134        HelpId = HID_SC_SUBT_GROUP ;
135        Border = TRUE ;
136        Pos = MAP_APPFONT ( 6 , 14 ) ;
137        Size = MAP_APPFONT ( 121 , 90 ) ;
138        TabStop = TRUE ;
139        DropDown = TRUE ;
140    };
141    FixedText FT_COLUMNS
142    {
143        Pos = MAP_APPFONT ( 6 , 32 ) ;
144        Size = MAP_APPFONT ( 121 , 8 ) ;
145        /* ### ACHTUNG: Neuer Text in Resource? ~Teilergebnisse berechnen f�r : ~Teilergebnisse berechnen f�r */
146        Text [ en-US ] = "~Calculate subtotals for" ;
147    };
148    Control WND_COLUMNS
149    {
150        HelpId = HID_SC_SUBT_COLS ;
151        Border = TRUE ;
152        Pos = MAP_APPFONT ( 6 , 43 ) ;
153        Size = MAP_APPFONT ( 121 , 136 ) ;
154        TabStop = TRUE ;
155    };
156    FixedText FT_FUNCTIONS
157    {
158        Pos = MAP_APPFONT ( 133 , 32 ) ;
159        Size = MAP_APPFONT ( 121 , 8 ) ;
160        Text [ en-US ] = "Use ~function" ;
161    };
162    ListBox LB_FUNCTIONS
163    {
164        HelpId = HID_SC_SUBT_FUNC ;
165        Border = TRUE ;
166        Pos = MAP_APPFONT ( 133 , 43 ) ;
167        Size = MAP_APPFONT ( 121 , 136 ) ;
168        TabStop = TRUE ;
169        StringList [ en-US ] =
170        {
171            < "Sum" ; Default ; > ;
172            < "Count" ; Default ; > ;
173            < "Average" ; Default ; > ;
174            < "Max" ; Default ; > ;
175            < "Min" ; Default ; > ;
176            < "Product" ; Default ; > ;
177            < "Count (numbers only)" ; Default ; > ;
178            < "StDev (Sample)" ; Default ; > ;
179            < "StDevP (Population)" ; Default ; > ;
180            < "Var (Sample)" ; Default ; > ;
181            < "VarP (Population)" ; Default ; > ;
182        };
183    };
184};
185
186 // "Control" braucht immer eigene HelpId - ansonsten aus RID_SUBTBASE kopiert
187
188TabPage RID_SCPAGE_SUBT_GROUP1 < RID_SUBTBASE
189{
190    HelpId = HID_SCPAGE_SUBT_GROUP1 ;
191};
192TabPage RID_SCPAGE_SUBT_GROUP2 < RID_SUBTBASE
193{
194    HelpId = HID_SCPAGE_SUBT_GROUP2 ;
195};
196TabPage RID_SCPAGE_SUBT_GROUP3 < RID_SUBTBASE
197{
198    HelpId = HID_SCPAGE_SUBT_GROUP3 ;
199};
200
201TabDialog RID_SCDLG_SUBTOTALS
202{
203    OutputSize = TRUE ;
204    SVLook = TRUE ;
205    Size = MAP_APPFONT ( 294 , 176 ) ;
206    Text [ en-US ] = "Subtotals" ;
207    Moveable = TRUE ;
208    Closeable = FALSE ;
209    TabControl 1
210    {
211        OutputSize = TRUE ;
212        SVLook = TRUE ;
213        Pos = MAP_APPFONT ( 3 , 3 ) ;
214        Size = MAP_APPFONT ( 240 , 150 ) ;
215        PageList =
216        {
217            PageItem
218            {
219                Identifier = PAGE_GROUP1 ;
220                Text [ en-US ] = "1st Group" ;
221            };
222            PageItem
223            {
224                Identifier = PAGE_GROUP2 ;
225                Text [ en-US ] = "2nd Group" ;
226            };
227            PageItem
228            {
229                Identifier = PAGE_GROUP3 ;
230                Text [ en-US ] = "3rd Group" ;
231            };
232            PageItem
233            {
234                Identifier = PAGE_OPTIONS ;
235                Text [ en-US ] = "Options" ;
236            };
237        };
238    };
239    PushButton BTN_REMOVE
240    {
241        Pos = MAP_APPFONT ( 143 , 160 ) ;
242        Size = MAP_APPFONT ( 40 , 12 ) ;
243        /* ### ACHTUNG: Neuer Text in Resource? ~L�schen : ~L�schen */
244        Text [ en-US ] = "~Delete" ;
245        TabStop = TRUE ;
246    };
247};
248
249
250
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
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300