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