xref: /aoo41x/main/sc/source/ui/src/subtdlg.src (revision 82177cdb)
1*82177cdbSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*82177cdbSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*82177cdbSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*82177cdbSAndrew Rist * distributed with this work for additional information
6*82177cdbSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*82177cdbSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*82177cdbSAndrew Rist * "License"); you may not use this file except in compliance
9*82177cdbSAndrew Rist * with the License.  You may obtain a copy of the License at
10*82177cdbSAndrew Rist *
11*82177cdbSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*82177cdbSAndrew Rist *
13*82177cdbSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*82177cdbSAndrew Rist * software distributed under the License is distributed on an
15*82177cdbSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*82177cdbSAndrew Rist * KIND, either express or implied.  See the License for the
17*82177cdbSAndrew Rist * specific language governing permissions and limitations
18*82177cdbSAndrew Rist * under the License.
19*82177cdbSAndrew Rist *
20*82177cdbSAndrew Rist *************************************************************/
21*82177cdbSAndrew Rist
22*82177cdbSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include "subtdlg.hrc"
25cdf0e10cSrcweir
26cdf0e10cSrcweirTabPage RID_SCPAGE_SUBT_OPTIONS
27cdf0e10cSrcweir{
28cdf0e10cSrcweir	HelpId = HID_SCPAGE_SUBT_OPTIONS ;
29cdf0e10cSrcweir	Pos = MAP_APPFONT ( 0 , 0 ) ;
30cdf0e10cSrcweir    Size = MAP_APPFONT ( 260 , 185 ) ;
31cdf0e10cSrcweir	Hide = TRUE ;
32cdf0e10cSrcweir    FixedLine FL_GROUP
33cdf0e10cSrcweir    {
34cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
35cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 8 ) ;
36cdf0e10cSrcweir    	Text [ en-US ] = "Groups";
37cdf0e10cSrcweir	};
38cdf0e10cSrcweir    CheckBox BTN_PAGEBREAK
39cdf0e10cSrcweir	{
40cdf0e10cSrcweir        HelpID = "sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_PAGEBREAK";
41cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 14 ) ;
42cdf0e10cSrcweir        Size = MAP_APPFONT ( 239 , 10 ) ;
43cdf0e10cSrcweir		Text [ en-US ] = "~Page break between groups" ;
44cdf0e10cSrcweir		TabStop = TRUE ;
45cdf0e10cSrcweir	};
46cdf0e10cSrcweir	CheckBox BTN_CASE
47cdf0e10cSrcweir	{
48cdf0e10cSrcweir	    HelpID = "sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_CASE";
49cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 28 ) ;
50cdf0e10cSrcweir        Size = MAP_APPFONT ( 239 , 10 ) ;
51cdf0e10cSrcweir		/* ### ACHTUNG: Neuer Text in Resource? ~Gro�-/Kleinschreibung beachten : ~Gro�-/Kleinschreibung beachten */
52cdf0e10cSrcweir		Text [ en-US ] = "~Case sensitive" ;
53cdf0e10cSrcweir		TabStop = TRUE ;
54cdf0e10cSrcweir	};
55cdf0e10cSrcweir	CheckBox BTN_SORT
56cdf0e10cSrcweir	{
57cdf0e10cSrcweir	    HelpID = "sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_SORT";
58cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 42 ) ;
59cdf0e10cSrcweir        Size = MAP_APPFONT ( 239 , 10 ) ;
60cdf0e10cSrcweir		Text [ en-US ] = "Pre-~sort area according to groups" ;
61cdf0e10cSrcweir		TabStop = TRUE ;
62cdf0e10cSrcweir	};
63cdf0e10cSrcweir	CheckBox BTN_FORMATS
64cdf0e10cSrcweir	{
65cdf0e10cSrcweir	    HelpID = "sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_FORMATS";
66cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 101 ) ;
67cdf0e10cSrcweir        Size = MAP_APPFONT ( 239 , 10 ) ;
68cdf0e10cSrcweir		/* ### ACHTUNG: Neuer Text in Resource? ~Formate einschlie�en : ~Formate einschlie�en */
69cdf0e10cSrcweir		Text [ en-US ] = "I~nclude formats" ;
70cdf0e10cSrcweir		TabStop = TRUE ;
71cdf0e10cSrcweir	};
72cdf0e10cSrcweir	CheckBox BTN_USERDEF
73cdf0e10cSrcweir	{
74cdf0e10cSrcweir	    HelpID = "sc:CheckBox:RID_SCPAGE_SUBT_OPTIONS:BTN_USERDEF";
75cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 115 ) ;
76cdf0e10cSrcweir        Size = MAP_APPFONT ( 239 , 10 ) ;
77cdf0e10cSrcweir		Text [ en-US ] = "C~ustom sort order" ;
78cdf0e10cSrcweir		TabStop = TRUE ;
79cdf0e10cSrcweir	};
80cdf0e10cSrcweir	ListBox LB_USERDEF
81cdf0e10cSrcweir	{
82cdf0e10cSrcweir	    HelpID = "sc:ListBox:RID_SCPAGE_SUBT_OPTIONS:LB_USERDEF";
83cdf0e10cSrcweir		Border = TRUE ;
84cdf0e10cSrcweir        Pos = MAP_APPFONT ( 20 , 127 ) ;
85cdf0e10cSrcweir        Size = MAP_APPFONT ( 231 , 90 ) ;
86cdf0e10cSrcweir		TabStop = TRUE ;
87cdf0e10cSrcweir		DropDown = TRUE ;
88cdf0e10cSrcweir	};
89cdf0e10cSrcweir	RadioButton BTN_ASCENDING
90cdf0e10cSrcweir	{
91cdf0e10cSrcweir	    HelpID = "sc:RadioButton:RID_SCPAGE_SUBT_OPTIONS:BTN_ASCENDING";
92cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 69 ) ;
93cdf0e10cSrcweir        Size = MAP_APPFONT ( 239 , 10 ) ;
94cdf0e10cSrcweir		Text [ en-US ] = "~Ascending" ;
95cdf0e10cSrcweir		TabStop = TRUE ;
96cdf0e10cSrcweir	};
97cdf0e10cSrcweir	RadioButton BTN_DESCENDING
98cdf0e10cSrcweir	{
99cdf0e10cSrcweir	    HelpID = "sc:RadioButton:RID_SCPAGE_SUBT_OPTIONS:BTN_DESCENDING";
100cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12 , 83 ) ;
101cdf0e10cSrcweir        Size = MAP_APPFONT ( 239 , 10 ) ;
102cdf0e10cSrcweir		Text [ en-US ] = "D~escending" ;
103cdf0e10cSrcweir		TabStop = TRUE ;
104cdf0e10cSrcweir	};
105cdf0e10cSrcweir    FixedLine FL_SORT
106cdf0e10cSrcweir	{
107cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 58 ) ;
108cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 8 ) ;
109cdf0e10cSrcweir		Text [ en-US ] = "Sort" ;
110cdf0e10cSrcweir	};
111cdf0e10cSrcweir};
112cdf0e10cSrcweir
113cdf0e10cSrcweir
114cdf0e10cSrcweirTabPage RID_SUBTBASE
115cdf0e10cSrcweir{
116cdf0e10cSrcweir	 //	Die Elemente haben hart vergebene Hilfe-IDs, weil automatisch generierte
117cdf0e10cSrcweir	 //	aus den Ableitungen nicht in der HID-Liste auftauchen wuerden
118cdf0e10cSrcweir	HelpId = HID_SCPAGE_SUBT_GROUP ;
119cdf0e10cSrcweir	Pos = MAP_APPFONT ( 0 , 0 ) ;
120cdf0e10cSrcweir    Size = MAP_APPFONT ( 260 , 185 ) ;
121cdf0e10cSrcweir	Hide = TRUE ;
122cdf0e10cSrcweir	FixedText FT_GROUP
123cdf0e10cSrcweir	{
124cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 3 ) ;
125cdf0e10cSrcweir        Size = MAP_APPFONT ( 121 , 8 ) ;
126cdf0e10cSrcweir		Text [ en-US ] = "~Group by" ;
127cdf0e10cSrcweir	};
128cdf0e10cSrcweir	ListBox LB_GROUP
129cdf0e10cSrcweir	{
130cdf0e10cSrcweir		HelpId = HID_SC_SUBT_GROUP ;
131cdf0e10cSrcweir		Border = TRUE ;
132cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 14 ) ;
133cdf0e10cSrcweir        Size = MAP_APPFONT ( 121 , 90 ) ;
134cdf0e10cSrcweir		TabStop = TRUE ;
135cdf0e10cSrcweir		DropDown = TRUE ;
136cdf0e10cSrcweir	};
137cdf0e10cSrcweir	FixedText FT_COLUMNS
138cdf0e10cSrcweir	{
139cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 32 ) ;
140cdf0e10cSrcweir        Size = MAP_APPFONT ( 121 , 8 ) ;
141cdf0e10cSrcweir		/* ### ACHTUNG: Neuer Text in Resource? ~Teilergebnisse berechnen f�r : ~Teilergebnisse berechnen f�r */
142cdf0e10cSrcweir		Text [ en-US ] = "~Calculate subtotals for" ;
143cdf0e10cSrcweir	};
144cdf0e10cSrcweir	Control WND_COLUMNS
145cdf0e10cSrcweir	{
146cdf0e10cSrcweir		HelpId = HID_SC_SUBT_COLS ;
147cdf0e10cSrcweir		Border = TRUE ;
148cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 43 ) ;
149cdf0e10cSrcweir        Size = MAP_APPFONT ( 121 , 136 ) ;
150cdf0e10cSrcweir		TabStop = TRUE ;
151cdf0e10cSrcweir	};
152cdf0e10cSrcweir	FixedText FT_FUNCTIONS
153cdf0e10cSrcweir	{
154cdf0e10cSrcweir        Pos = MAP_APPFONT ( 133 , 32 ) ;
155cdf0e10cSrcweir        Size = MAP_APPFONT ( 121 , 8 ) ;
156cdf0e10cSrcweir		Text [ en-US ] = "Use ~function" ;
157cdf0e10cSrcweir	};
158cdf0e10cSrcweir	ListBox LB_FUNCTIONS
159cdf0e10cSrcweir	{
160cdf0e10cSrcweir		HelpId = HID_SC_SUBT_FUNC ;
161cdf0e10cSrcweir		Border = TRUE ;
162cdf0e10cSrcweir        Pos = MAP_APPFONT ( 133 , 43 ) ;
163cdf0e10cSrcweir        Size = MAP_APPFONT ( 121 , 136 ) ;
164cdf0e10cSrcweir		TabStop = TRUE ;
165cdf0e10cSrcweir		StringList [ en-US ] =
166cdf0e10cSrcweir		{
167cdf0e10cSrcweir			< "Sum" ; Default ; > ;
168cdf0e10cSrcweir			< "Count" ; Default ; > ;
169cdf0e10cSrcweir			< "Average" ; Default ; > ;
170cdf0e10cSrcweir			< "Max" ; Default ; > ;
171cdf0e10cSrcweir			< "Min" ; Default ; > ;
172cdf0e10cSrcweir			< "Product" ; Default ; > ;
173cdf0e10cSrcweir			< "Count (numbers only)" ; Default ; > ;
174cdf0e10cSrcweir			< "StDev (Sample)" ; Default ; > ;
175cdf0e10cSrcweir			< "StDevP (Population)" ; Default ; > ;
176cdf0e10cSrcweir			< "Var (Sample)" ; Default ; > ;
177cdf0e10cSrcweir			< "VarP (Population)" ; Default ; > ;
178cdf0e10cSrcweir		};
179cdf0e10cSrcweir	};
180cdf0e10cSrcweir};
181cdf0e10cSrcweir
182cdf0e10cSrcweir // "Control" braucht immer eigene HelpId - ansonsten aus RID_SUBTBASE kopiert
183cdf0e10cSrcweir
184cdf0e10cSrcweirTabPage RID_SCPAGE_SUBT_GROUP1 < RID_SUBTBASE
185cdf0e10cSrcweir{
186cdf0e10cSrcweir	HelpId = HID_SCPAGE_SUBT_GROUP1 ;
187cdf0e10cSrcweir};
188cdf0e10cSrcweirTabPage RID_SCPAGE_SUBT_GROUP2 < RID_SUBTBASE
189cdf0e10cSrcweir{
190cdf0e10cSrcweir	HelpId = HID_SCPAGE_SUBT_GROUP2 ;
191cdf0e10cSrcweir};
192cdf0e10cSrcweirTabPage RID_SCPAGE_SUBT_GROUP3 < RID_SUBTBASE
193cdf0e10cSrcweir{
194cdf0e10cSrcweir	HelpId = HID_SCPAGE_SUBT_GROUP3 ;
195cdf0e10cSrcweir};
196cdf0e10cSrcweir
197cdf0e10cSrcweirTabDialog RID_SCDLG_SUBTOTALS
198cdf0e10cSrcweir{
199cdf0e10cSrcweir	OutputSize = TRUE ;
200cdf0e10cSrcweir	SVLook = TRUE ;
201cdf0e10cSrcweir	Size = MAP_APPFONT ( 294 , 176 ) ;
202cdf0e10cSrcweir	Text [ en-US ] = "Subtotals" ;
203cdf0e10cSrcweir	Moveable = TRUE ;
204cdf0e10cSrcweir	Closeable = FALSE ;
205cdf0e10cSrcweir	TabControl 1
206cdf0e10cSrcweir	{
207cdf0e10cSrcweir		OutputSize = TRUE ;
208cdf0e10cSrcweir		SVLook = TRUE ;
209cdf0e10cSrcweir		Pos = MAP_APPFONT ( 3 , 3 ) ;
210cdf0e10cSrcweir		Size = MAP_APPFONT ( 240 , 150 ) ;
211cdf0e10cSrcweir		PageList =
212cdf0e10cSrcweir		{
213cdf0e10cSrcweir			PageItem
214cdf0e10cSrcweir			{
215cdf0e10cSrcweir				Identifier = PAGE_GROUP1 ;
216cdf0e10cSrcweir				Text [ en-US ] = "1st Group" ;
217cdf0e10cSrcweir			};
218cdf0e10cSrcweir			PageItem
219cdf0e10cSrcweir			{
220cdf0e10cSrcweir				Identifier = PAGE_GROUP2 ;
221cdf0e10cSrcweir				Text [ en-US ] = "2nd Group" ;
222cdf0e10cSrcweir			};
223cdf0e10cSrcweir			PageItem
224cdf0e10cSrcweir			{
225cdf0e10cSrcweir				Identifier = PAGE_GROUP3 ;
226cdf0e10cSrcweir				Text [ en-US ] = "3rd Group" ;
227cdf0e10cSrcweir			};
228cdf0e10cSrcweir			PageItem
229cdf0e10cSrcweir			{
230cdf0e10cSrcweir				Identifier = PAGE_OPTIONS ;
231cdf0e10cSrcweir				Text [ en-US ] = "Options" ;
232cdf0e10cSrcweir			};
233cdf0e10cSrcweir		};
234cdf0e10cSrcweir	};
235cdf0e10cSrcweir	PushButton BTN_REMOVE
236cdf0e10cSrcweir	{
237cdf0e10cSrcweir		Pos = MAP_APPFONT ( 143 , 160 ) ;
238cdf0e10cSrcweir		Size = MAP_APPFONT ( 40 , 12 ) ;
239cdf0e10cSrcweir		/* ### ACHTUNG: Neuer Text in Resource? ~L�schen : ~L�schen */
240cdf0e10cSrcweir		Text [ en-US ] = "~Delete" ;
241cdf0e10cSrcweir		TabStop = TRUE ;
242cdf0e10cSrcweir	};
243cdf0e10cSrcweir};
244cdf0e10cSrcweir
245cdf0e10cSrcweir
246cdf0e10cSrcweir
247cdf0e10cSrcweir
248cdf0e10cSrcweir
249cdf0e10cSrcweir
250cdf0e10cSrcweir
251cdf0e10cSrcweir
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
296