1*477794c1SAndrew Rist /**************************************************************
2cdf0e10cSrcweir *
3*477794c1SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*477794c1SAndrew Rist * or more contributor license agreements. See the NOTICE file
5*477794c1SAndrew Rist * distributed with this work for additional information
6*477794c1SAndrew Rist * regarding copyright ownership. The ASF licenses this file
7*477794c1SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*477794c1SAndrew Rist * "License"); you may not use this file except in compliance
9*477794c1SAndrew Rist * with the License. You may obtain a copy of the License at
10*477794c1SAndrew Rist *
11*477794c1SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0
12*477794c1SAndrew Rist *
13*477794c1SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*477794c1SAndrew Rist * software distributed under the License is distributed on an
15*477794c1SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*477794c1SAndrew Rist * KIND, either express or implied. See the License for the
17*477794c1SAndrew Rist * specific language governing permissions and limitations
18*477794c1SAndrew Rist * under the License.
19*477794c1SAndrew Rist *
20*477794c1SAndrew Rist *************************************************************/
21*477794c1SAndrew Rist
22*477794c1SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir // MARKER(update_precomp.py): autogen include statement, do not remove
25cdf0e10cSrcweir #include "precompiled_rsc.hxx"
26cdf0e10cSrcweir
27cdf0e10cSrcweir /****************** I N C L U D E S **************************************/
28cdf0e10cSrcweir // C and C++ Includes.
29cdf0e10cSrcweir #include <stdlib.h>
30cdf0e10cSrcweir #include <stdio.h>
31cdf0e10cSrcweir
32cdf0e10cSrcweir #include <tools/rc.h>
33cdf0e10cSrcweir
34cdf0e10cSrcweir #include <vclrsc.hxx>
35cdf0e10cSrcweir
36cdf0e10cSrcweir // Programmabhaengige Includes.
37cdf0e10cSrcweir #include <rsctree.hxx>
38cdf0e10cSrcweir #include <rsctop.hxx>
39cdf0e10cSrcweir #include <rscrange.hxx>
40cdf0e10cSrcweir #include <rscconst.hxx>
41cdf0e10cSrcweir #include <rscflag.hxx>
42cdf0e10cSrcweir #include <rscstr.hxx>
43cdf0e10cSrcweir #include <rsccont.hxx>
44cdf0e10cSrcweir #include <rscmgr.hxx>
45cdf0e10cSrcweir #include <rscclass.hxx>
46cdf0e10cSrcweir #include <rsckey.hxx>
47cdf0e10cSrcweir #include <rscdb.hxx>
48cdf0e10cSrcweir
49cdf0e10cSrcweir #include "rsclex.hxx"
50cdf0e10cSrcweir #include <yyrscyacc.hxx>
51cdf0e10cSrcweir
52cdf0e10cSrcweir /****************** M a c r o s ******************************************/
53cdf0e10cSrcweir #define INS_WINBIT( pClass, WinBit ) \
54cdf0e10cSrcweir InsWinBit( pClass, #WinBit, n##WinBit##Id );
55cdf0e10cSrcweir
56cdf0e10cSrcweir /****************** C O D E **********************************************/
NameToVerCtrl(RSCINST & aVersion,RscTop * pClass,RscTop * pClassString)57cdf0e10cSrcweir void NameToVerCtrl( RSCINST & aVersion, RscTop * pClass,
58cdf0e10cSrcweir RscTop * pClassString )
59cdf0e10cSrcweir {
60cdf0e10cSrcweir if( pClass )
61cdf0e10cSrcweir {
62cdf0e10cSrcweir NameToVerCtrl( aVersion, (RscTop *)pClass->Left(), pClassString );
63cdf0e10cSrcweir {
64cdf0e10cSrcweir RSCINST aVI;
65cdf0e10cSrcweir RSCINST aStr;
66cdf0e10cSrcweir
67cdf0e10cSrcweir // Namen in Versionskontrolle einsetzen
68cdf0e10cSrcweir aVersion.pClass->
69cdf0e10cSrcweir GetElement( aVersion, RscId( pClass->GetTypId() ),
70cdf0e10cSrcweir pClassString, RSCINST(), &aVI );
71cdf0e10cSrcweir aStr = aVI.pClass->GetVariable( aVI, pHS->getID( "TEXT" ),
72cdf0e10cSrcweir RSCINST() );
73cdf0e10cSrcweir aStr.pClass->SetString( aStr, pHS->getString( pClass->GetId() ).getStr() );
74cdf0e10cSrcweir }
75cdf0e10cSrcweir NameToVerCtrl( aVersion, (RscTop *)pClass->Right(), pClassString );
76cdf0e10cSrcweir }
77cdf0e10cSrcweir }
78cdf0e10cSrcweir
79cdf0e10cSrcweir /*************************************************************************
80cdf0e10cSrcweir |*
81cdf0e10cSrcweir |* RscTypCont::Init()
82cdf0e10cSrcweir |*
83cdf0e10cSrcweir |* Beschreibung
84cdf0e10cSrcweir |* Ersterstellung MM 22.03.91
85cdf0e10cSrcweir |* Letzte Aenderung MM 27.06.91
86cdf0e10cSrcweir |*
87cdf0e10cSrcweir *************************************************************************/
Init()88cdf0e10cSrcweir void RscTypCont::Init()
89cdf0e10cSrcweir {
90cdf0e10cSrcweir RscEnum * pFieldUnits;
91cdf0e10cSrcweir RscEnum * pTimeFieldFormat;
92cdf0e10cSrcweir RscEnum * pColor;
93cdf0e10cSrcweir RscEnum * pMapUnit;
94cdf0e10cSrcweir RscEnum * pKey;
95cdf0e10cSrcweir RscEnum * pTriState;
96cdf0e10cSrcweir RscEnum * pMessButtons;
97cdf0e10cSrcweir RscEnum * pMessDefButton;
98cdf0e10cSrcweir RscTupel * pGeometry;
99cdf0e10cSrcweir RscArray * pLangGeometry;
100cdf0e10cSrcweir RscCont * pStringList;
101cdf0e10cSrcweir RscArray * pLangStringList;
102cdf0e10cSrcweir RscTupel * pStringTupel;
103cdf0e10cSrcweir RscTupel * pStringLongTupel;
104cdf0e10cSrcweir RscCont * pStringTupelList;
105cdf0e10cSrcweir RscCont * pStringLongTupelList;
106cdf0e10cSrcweir RscArray * pLangStringTupelList;
107cdf0e10cSrcweir RscArray * pLangStringLongTupelList;
108cdf0e10cSrcweir
109cdf0e10cSrcweir RscTop * pClassMgr;
110cdf0e10cSrcweir RscTop * pClassString;
111cdf0e10cSrcweir RscTop * pClassStringArray;
112cdf0e10cSrcweir RscTop * pClassBitmap;
113cdf0e10cSrcweir RscTop * pClassColor;
114cdf0e10cSrcweir RscTop * pClassImage;
115cdf0e10cSrcweir RscTop * pClassImageList;
116cdf0e10cSrcweir RscTop * pClassWindow;
117cdf0e10cSrcweir RscTop * pClassSystemWindow;
118cdf0e10cSrcweir RscTop * pClassWorkWindow;
119cdf0e10cSrcweir RscTop * pClassDialog;
120cdf0e10cSrcweir RscTop * pClassModalDialog;
121cdf0e10cSrcweir RscTop * pClassModelessDialog;
122cdf0e10cSrcweir RscTop * pClassControl;
123cdf0e10cSrcweir RscTop * pClassButton;
124cdf0e10cSrcweir RscTop * pClassCheckBox;
125cdf0e10cSrcweir RscTop * pClassPushButton;
126cdf0e10cSrcweir RscTop * pClassOKButton;
127cdf0e10cSrcweir RscTop * pClassCancelButton;
128cdf0e10cSrcweir RscTop * pClassHelpButton;
129cdf0e10cSrcweir RscTop * pClassRadioButton;
130cdf0e10cSrcweir RscTop * pClassImageRadioButton;
131cdf0e10cSrcweir RscTop * pClassImageButton;
132cdf0e10cSrcweir RscTop * pClassTriStateBox;
133cdf0e10cSrcweir RscTop * pClassEdit;
134cdf0e10cSrcweir RscTop * pClassMultiLineEdit;
135cdf0e10cSrcweir RscTop * pClassScrollBar;
136cdf0e10cSrcweir RscTop * pClassListBox;
137cdf0e10cSrcweir RscTop * pClassMultiListBox;
138cdf0e10cSrcweir RscTop * pClassComboBox;
139cdf0e10cSrcweir RscTop * pClassFixedText;
140cdf0e10cSrcweir RscTop * pClassFixedBitmap;
141cdf0e10cSrcweir RscTop * pClassFixedImage;
142cdf0e10cSrcweir RscTop * pClassGroupBox;
143cdf0e10cSrcweir RscTop * pClassKeyCode;
144cdf0e10cSrcweir RscTop * pLangClassKeyCode;
145cdf0e10cSrcweir RscTop * pClassAccelItem;
146cdf0e10cSrcweir RscTop * pClassAccel;
147cdf0e10cSrcweir RscTop * pClassMenuItem;
148cdf0e10cSrcweir RscTop * pClassMenu;
149cdf0e10cSrcweir RscTop * pClassMenuButton;
150cdf0e10cSrcweir RscTop * pClassMessBox;
151cdf0e10cSrcweir RscTop * pClassInfoBox;
152cdf0e10cSrcweir RscTop * pClassWarningBox;
153cdf0e10cSrcweir RscTop * pClassErrorBox;
154cdf0e10cSrcweir RscTop * pClassQueryBox;
155cdf0e10cSrcweir RscTop * pClassSplitter;
156cdf0e10cSrcweir RscTop * pClassSplitWindow;
157cdf0e10cSrcweir RscTop * pClassSpinButton;
158cdf0e10cSrcweir RscTop * pClassTime;
159cdf0e10cSrcweir RscTop * pClassDate;
160cdf0e10cSrcweir RscTop * pClassSpinField;
161cdf0e10cSrcweir RscTop * pClassPatternField;
162cdf0e10cSrcweir RscTop * pClassNumericField;
163cdf0e10cSrcweir RscTop * pClassMetricField;
164cdf0e10cSrcweir RscTop * pClassCurrencyField;
165cdf0e10cSrcweir RscTop * pClassLongCurrencyField;
166cdf0e10cSrcweir RscTop * pClassDateField;
167cdf0e10cSrcweir RscTop * pClassTimeField;
168cdf0e10cSrcweir RscTop * pClassPatternBox;
169cdf0e10cSrcweir RscTop * pClassNumericBox;
170cdf0e10cSrcweir RscTop * pClassMetricBox;
171cdf0e10cSrcweir RscTop * pClassCurrencyBox;
172cdf0e10cSrcweir RscTop * pClassLongCurrencyBox;
173cdf0e10cSrcweir RscTop * pClassDateBox;
174cdf0e10cSrcweir RscTop * pClassTimeBox;
175cdf0e10cSrcweir RscTop * pClassDockingWindow;
176cdf0e10cSrcweir RscTop * pClassToolBoxItem;
177cdf0e10cSrcweir RscTop * pClassToolBox;
178cdf0e10cSrcweir RscTop * pClassStatusBar;
179cdf0e10cSrcweir RscTop * pClassMoreButton;
180cdf0e10cSrcweir RscTop * pClassFloatingWindow;
181cdf0e10cSrcweir RscTop * pClassTabPage;
182cdf0e10cSrcweir RscTop * pClassTabDialog;
183cdf0e10cSrcweir RscTop * pClassTabControlItem;
184cdf0e10cSrcweir RscTop * pClassTabControl;
185cdf0e10cSrcweir RscTop * pClassFixedLine;
186cdf0e10cSrcweir RscTop * pClassScrollBarBox;
187cdf0e10cSrcweir RscTop * pClassSfxStyleFamilyItem;
188cdf0e10cSrcweir RscTop * pClassSfxTemplateDialog;
189cdf0e10cSrcweir RscTop * pClassSfxSlotInfo;
190cdf0e10cSrcweir
191cdf0e10cSrcweir Atom nId;
192cdf0e10cSrcweir
193cdf0e10cSrcweir aNmTb.SetSort( sal_False );
194cdf0e10cSrcweir {
195cdf0e10cSrcweir /********** C O M P I L E R T Y P E N ******************************/
196cdf0e10cSrcweir aNmTb.Put( "LINE", LINE, (long)0 );
197cdf0e10cSrcweir aNmTb.Put( "NOT", NOT, (long)0 );
198cdf0e10cSrcweir aNmTb.Put( "DEFINE", DEFINE, (long)0 );
199cdf0e10cSrcweir aNmTb.Put( "INCLUDE", INCLUDE, (long)0 );
200cdf0e10cSrcweir aNmTb.Put( "DEFAULT", DEFAULT, (long)0 );
201cdf0e10cSrcweir aNmTb.Put( "class", CLASS, (long)0 );
202cdf0e10cSrcweir aNmTb.Put( "extendable", EXTENDABLE, (long)0 );
203cdf0e10cSrcweir aNmTb.Put( "writeifset", WRITEIFSET, (long)0 );
204cdf0e10cSrcweir
205cdf0e10cSrcweir /* Werte fuer Aufzaehlungstypen */
206cdf0e10cSrcweir aNmTb.Put( "TRUE", BOOLEAN, (long)sal_True );
207cdf0e10cSrcweir aNmTb.Put( "FALSE", BOOLEAN, (long)sal_False );
208cdf0e10cSrcweir
209cdf0e10cSrcweir #if 0
210cdf0e10cSrcweir /* Vordefinierte HilfeId's */
211cdf0e10cSrcweir aNmTb.Put( "HELP_INDEX", NUMBER, OOO_HELP_INDEX );
212cdf0e10cSrcweir aNmTb.Put( "HELP_HELPONHELP", NUMBER, OOO_HELP_HELPONHELP );
213cdf0e10cSrcweir #endif
214cdf0e10cSrcweir
215cdf0e10cSrcweir aNmTb.Put( "XSCALE", XSCALE , (long)0 );
216cdf0e10cSrcweir aNmTb.Put( "YSCALE", YSCALE , (long)0 );
217cdf0e10cSrcweir aNmTb.Put( "RGB", RGB , (long)0 );
218cdf0e10cSrcweir aNmTb.Put( "POSSIZE", GEOMETRY, (long)0 );
219cdf0e10cSrcweir aNmTb.Put( "POS", POSITION, (long)0 );
220cdf0e10cSrcweir aNmTb.Put( "SIZE", DIMENSION, (long)0 );
221cdf0e10cSrcweir aNmTb.Put( "ZoomInOutputSize", INZOOMOUTPUTSIZE,(long)0 );
222cdf0e10cSrcweir aNmTb.Put( "FloatingPos", FLOATINGPOS, (long)0 );
223cdf0e10cSrcweir }
224cdf0e10cSrcweir /********** B A S I S T Y P E N ************************************/
225cdf0e10cSrcweir {
226cdf0e10cSrcweir /********** S H O R T ************************************************/
227cdf0e10cSrcweir aShort.SetRange( -32768, 32767 );
228cdf0e10cSrcweir
229cdf0e10cSrcweir /********** U S H O R T **********************************************/
230cdf0e10cSrcweir aUShort.SetRange( 0, 0xFFFF );
231cdf0e10cSrcweir
232cdf0e10cSrcweir /********** L O N G **************************************************/
233cdf0e10cSrcweir aLong.SetRange( SAL_MIN_INT32, SAL_MAX_INT32 );
234cdf0e10cSrcweir aEnumLong.SetRange( SAL_MIN_INT32, SAL_MAX_INT32 );
235cdf0e10cSrcweir
236cdf0e10cSrcweir /********** I D U S H O R T ******************************************/
237cdf0e10cSrcweir aIdUShort.SetRange( 0, 0xFFFF );
238cdf0e10cSrcweir
239cdf0e10cSrcweir /********** I D N O Z E R O U S H O R T ******************************/
240cdf0e10cSrcweir aIdNoZeroUShort.SetRange( 1, 0xFFFF );
241cdf0e10cSrcweir
242cdf0e10cSrcweir /********** N O Z E R O S H O R T ************************************/
243cdf0e10cSrcweir aNoZeroShort.SetRange( -32768, 32767 );
244cdf0e10cSrcweir aNoZeroShort.SetOutRange( 0 );
245cdf0e10cSrcweir
246cdf0e10cSrcweir /********** R A N G E S H O R T **************************************/
247cdf0e10cSrcweir a1to12Short.SetRange( 1, 12 );
248cdf0e10cSrcweir a0to23Short.SetRange( 0, 23 );
249cdf0e10cSrcweir a1to31Short.SetRange( 1, 31 );
250cdf0e10cSrcweir a0to59Short.SetRange( 0, 59 );
251cdf0e10cSrcweir a0to99Short.SetRange( 0, 99 );
252cdf0e10cSrcweir a0to9999Short.SetRange( 0, 9999 );
253cdf0e10cSrcweir
254cdf0e10cSrcweir /********** I D R A N G E ********************************************/
255cdf0e10cSrcweir aIdLong.SetRange( SAL_MIN_INT32, SAL_MAX_INT32 );
256cdf0e10cSrcweir }
257cdf0e10cSrcweir {
258cdf0e10cSrcweir /********** W I N B I T S F L A G ************************************/
259cdf0e10cSrcweir // Variablenname fuer WinBits
260cdf0e10cSrcweir nWinBitVarId = aNmTb.Put( "_WinBits", VARNAME );
261cdf0e10cSrcweir
262cdf0e10cSrcweir // Windows
263cdf0e10cSrcweir nBorderId = pHS->getID( "WB_BORDER" );
264cdf0e10cSrcweir aWinBits.SetConstant( nBorderId, sal::static_int_cast<sal_Int32>(WB_BORDER) );
265cdf0e10cSrcweir nHideId = pHS->getID( "WB_HIDE" );
266cdf0e10cSrcweir aWinBits.SetConstant( nHideId, sal::static_int_cast<sal_Int32>(WB_HIDE) );
267cdf0e10cSrcweir nClipChildrenId = pHS->getID( "WB_CLIPCHILDREN" );
268cdf0e10cSrcweir aWinBits.SetConstant( nClipChildrenId, sal::static_int_cast<sal_Int32>(WB_CLIPCHILDREN) );
269cdf0e10cSrcweir nSizeableId = pHS->getID( "WB_SIZEABLE" );
270cdf0e10cSrcweir aWinBits.SetConstant( nSizeableId, sal::static_int_cast<sal_Int32>(WB_SIZEABLE) );
271cdf0e10cSrcweir nMoveableId = pHS->getID( "WB_MOVEABLE" );
272cdf0e10cSrcweir aWinBits.SetConstant( nMoveableId, sal::static_int_cast<sal_Int32>(WB_MOVEABLE) );
273cdf0e10cSrcweir nMinimizeId = pHS->getID( "WB_MINABLE" );
274cdf0e10cSrcweir aWinBits.SetConstant( nMinimizeId, 0 /*WB_MINABLE*/ );
275cdf0e10cSrcweir nMaximizeId = pHS->getID( "WB_MAXABLE" );
276cdf0e10cSrcweir aWinBits.SetConstant( nMaximizeId, 0 /*WB_MAXABLE*/ );
277cdf0e10cSrcweir nCloseableId = pHS->getID( "WB_CLOSEABLE" );
278cdf0e10cSrcweir aWinBits.SetConstant( nCloseableId, sal::static_int_cast<sal_Int32>(WB_CLOSEABLE) );
279cdf0e10cSrcweir nAppId = pHS->getID( "WB_APP" );
280cdf0e10cSrcweir aWinBits.SetConstant( nAppId, sal::static_int_cast<sal_Int32>(WB_APP) );
281cdf0e10cSrcweir nTabstopId = pHS->getID( "WB_TABSTOP" );
282cdf0e10cSrcweir aWinBits.SetConstant( nTabstopId, sal::static_int_cast<sal_Int32>(WB_TABSTOP) );
283cdf0e10cSrcweir nGroupId = pHS->getID( "WB_GROUP" );
284cdf0e10cSrcweir aWinBits.SetConstant( nGroupId, sal::static_int_cast<sal_Int32>(WB_GROUP) );
285cdf0e10cSrcweir nSysmodalId = pHS->getID( "WB_SYSMODAL" );
286cdf0e10cSrcweir aWinBits.SetConstant( nSysmodalId, 0 /*WB_SYSMODAL*/ );
287cdf0e10cSrcweir }
288cdf0e10cSrcweir {
289cdf0e10cSrcweir nLeftId = pHS->getID( "WB_LEFT" );
290cdf0e10cSrcweir aWinBits.SetConstant( nLeftId, sal::static_int_cast<sal_Int32>(WB_LEFT) );
291cdf0e10cSrcweir nCenterId = pHS->getID( "WB_CENTER" );
292cdf0e10cSrcweir aWinBits.SetConstant( nCenterId, sal::static_int_cast<sal_Int32>(WB_CENTER) );
293cdf0e10cSrcweir nRightId = pHS->getID( "WB_RIGHT" );
294cdf0e10cSrcweir aWinBits.SetConstant( nRightId, sal::static_int_cast<sal_Int32>(WB_RIGHT) );
295cdf0e10cSrcweir nTopId = pHS->getID( "WB_TOP" );
296cdf0e10cSrcweir aWinBits.SetConstant( nTopId, sal::static_int_cast<sal_Int32>(WB_TOP) );
297cdf0e10cSrcweir nVCenterId = pHS->getID( "WB_VCENTER" );
298cdf0e10cSrcweir aWinBits.SetConstant( nVCenterId, sal::static_int_cast<sal_Int32>(WB_VCENTER) );
299cdf0e10cSrcweir nBottomId = pHS->getID( "WB_BOTTOM" );
300cdf0e10cSrcweir aWinBits.SetConstant( nBottomId, sal::static_int_cast<sal_Int32>(WB_BOTTOM) );
301cdf0e10cSrcweir nHScrollId = pHS->getID( "WB_HSCROLL" );
302cdf0e10cSrcweir aWinBits.SetConstant( nHScrollId, sal::static_int_cast<sal_Int32>(WB_HSCROLL) );
303cdf0e10cSrcweir nVScrollId = pHS->getID( "WB_VSCROLL" );
304cdf0e10cSrcweir aWinBits.SetConstant( nVScrollId, sal::static_int_cast<sal_Int32>(WB_VSCROLL) );
305cdf0e10cSrcweir nSortId = pHS->getID( "WB_SORT" );
306cdf0e10cSrcweir aWinBits.SetConstant( nSortId, sal::static_int_cast<sal_Int32>(WB_SORT) );
307cdf0e10cSrcweir nDefaultId = pHS->getID( "WB_DEFBUTTON" );
308cdf0e10cSrcweir aWinBits.SetConstant( nDefaultId, sal::static_int_cast<sal_Int32>(WB_DEFBUTTON) );
309cdf0e10cSrcweir nRepeatId = pHS->getID( "WB_REPEAT" );
310cdf0e10cSrcweir aWinBits.SetConstant( nRepeatId, sal::static_int_cast<sal_Int32>(WB_REPEAT) );
311cdf0e10cSrcweir nSVLookId = pHS->getID( "WB_SVLOOK" );
312cdf0e10cSrcweir aWinBits.SetConstant( nSVLookId, sal::static_int_cast<sal_Int32>(WB_3DLOOK) );
313cdf0e10cSrcweir nDropDownId = pHS->getID( "WB_DROPDOWN" );
314cdf0e10cSrcweir aWinBits.SetConstant( nDropDownId, sal::static_int_cast<sal_Int32>(WB_DROPDOWN) );
315cdf0e10cSrcweir nPassWordId = pHS->getID( "WB_PASSWORD" );
316cdf0e10cSrcweir aWinBits.SetConstant( nPassWordId, sal::static_int_cast<sal_Int32>(WB_PASSWORD) );
317cdf0e10cSrcweir nReadOnlyId = pHS->getID( "WB_READONLY" );
318cdf0e10cSrcweir aWinBits.SetConstant( nReadOnlyId, sal::static_int_cast<sal_Int32>(WB_READONLY) );
319cdf0e10cSrcweir nAutoSizeId = pHS->getID( "WB_AUTOSIZE" );
320cdf0e10cSrcweir aWinBits.SetConstant( nAutoSizeId, sal::static_int_cast<sal_Int32>(WB_AUTOSIZE) );
321cdf0e10cSrcweir nSpinId = pHS->getID( "WB_SPIN" );
322cdf0e10cSrcweir aWinBits.SetConstant( nSpinId, sal::static_int_cast<sal_Int32>(WB_SPIN) );
323cdf0e10cSrcweir nTabControlId = pHS->getID( "WB_DIALOGCONTROL" );
324cdf0e10cSrcweir aWinBits.SetConstant( nTabControlId, sal::static_int_cast<sal_Int32>(WB_DIALOGCONTROL) );
325cdf0e10cSrcweir nSimpleModeId = pHS->getID( "WB_SIMPLEMODE" );
326cdf0e10cSrcweir aWinBits.SetConstant( nSimpleModeId, sal::static_int_cast<sal_Int32>(WB_SIMPLEMODE) );
327cdf0e10cSrcweir nDragId = pHS->getID( "WB_DRAG" );
328cdf0e10cSrcweir aWinBits.SetConstant( nDragId, sal::static_int_cast<sal_Int32>(WB_DRAG) );
329cdf0e10cSrcweir nScrollId = pHS->getID( "WB_SCROLL" );
330cdf0e10cSrcweir aWinBits.SetConstant( nScrollId, sal::static_int_cast<sal_Int32>(WB_SCROLL) );
331cdf0e10cSrcweir nZoomableId = pHS->getID( "WB_ZOOMABLE" );
332cdf0e10cSrcweir aWinBits.SetConstant( nZoomableId, sal::static_int_cast<sal_Int32>(WB_ROLLABLE) );
333cdf0e10cSrcweir nHideWhenDeactivateId = pHS->getID( "WB_HIDEWHENDEACTIVATE" );
334cdf0e10cSrcweir aWinBits.SetConstant( nHideWhenDeactivateId, 0 /*WB_HIDEWHENDEACTIVATE*/ );
335cdf0e10cSrcweir nAutoHScrollId = pHS->getID( "WB_AUTOHSCROLL" );
336cdf0e10cSrcweir aWinBits.SetConstant( nAutoHScrollId, sal::static_int_cast<sal_Int32>(WB_AUTOHSCROLL) );
337cdf0e10cSrcweir nAutoVScrollId = pHS->getID( "WB_AUTOVSCROLL" );
338cdf0e10cSrcweir aWinBits.SetConstant( nAutoVScrollId, sal::static_int_cast<sal_Int32>(WB_AUTOVSCROLL) );
339cdf0e10cSrcweir nDDExtraWidthId = pHS->getID( "WB_DDEXTRAWIDTH" );
340cdf0e10cSrcweir aWinBits.SetConstant( nDDExtraWidthId, 0 /*WB_DDEXTRAWIDTH*/ );
341cdf0e10cSrcweir nWordBreakId = pHS->getID( "WB_WORDBREAK" );
342cdf0e10cSrcweir aWinBits.SetConstant( nWordBreakId, sal::static_int_cast<sal_Int32>(WB_WORDBREAK) );
343cdf0e10cSrcweir nLeftLabelId = pHS->getID( "WB_LEFTLABEL" );
344cdf0e10cSrcweir aWinBits.SetConstant( nLeftLabelId, 0 /*WB_LEFTLABEL*/ );
345cdf0e10cSrcweir nHasLinesId = pHS->getID( "WB_HASLINES" );
346cdf0e10cSrcweir aWinBits.SetConstant( nHasLinesId, sal::static_int_cast<sal_Int32>(WB_HASLINES) );
347cdf0e10cSrcweir nHasButtonsId = pHS->getID( "WB_HASBUTTONS" );
348cdf0e10cSrcweir aWinBits.SetConstant( nHasButtonsId, sal::static_int_cast<sal_Int32>(WB_HASBUTTONS) );
349cdf0e10cSrcweir nRectStyleId = pHS->getID( "WB_RECTSTYLE" );
350cdf0e10cSrcweir aWinBits.SetConstant( nRectStyleId, sal::static_int_cast<sal_Int32>(WB_RECTSTYLE) );
351cdf0e10cSrcweir nLineSpacingId = pHS->getID( "WB_LINESPACING" );
352cdf0e10cSrcweir aWinBits.SetConstant( nLineSpacingId, sal::static_int_cast<sal_Int32>(WB_LINESPACING) );
353cdf0e10cSrcweir nSmallStyleId = pHS->getID( "WB_SMALLSTYLE" );
354cdf0e10cSrcweir aWinBits.SetConstant( nSmallStyleId, sal::static_int_cast<sal_Int32>(WB_SMALLSTYLE) );
355cdf0e10cSrcweir nEnableResizingId = pHS->getID( "WB_ENABLERESIZING" );
356cdf0e10cSrcweir aWinBits.SetConstant( nEnableResizingId, 0 /*WB_ENABLERESIZING*/ );
357cdf0e10cSrcweir nDockableId = pHS->getID( "WB_DOCKABLE" );
358cdf0e10cSrcweir aWinBits.SetConstant( nDockableId, sal::static_int_cast<sal_Int32>(WB_DOCKABLE) );
359cdf0e10cSrcweir nScaleId = pHS->getID( "WB_SCALE" );
360cdf0e10cSrcweir aWinBits.SetConstant( nScaleId, sal::static_int_cast<sal_Int32>(WB_SCALE) );
361cdf0e10cSrcweir nIgnoreTabId = pHS->getID( "WB_IGNORETAB" );
362cdf0e10cSrcweir aWinBits.SetConstant( nIgnoreTabId, sal::static_int_cast<sal_Int32>(WB_IGNORETAB) );
363cdf0e10cSrcweir nNoSplitDrawId = pHS->getID( "WB_NOSPLITDRAW" );
364cdf0e10cSrcweir aWinBits.SetConstant( nNoSplitDrawId, sal::static_int_cast<sal_Int32>(WB_NOSPLITDRAW) );
365cdf0e10cSrcweir nTopImageId = pHS->getID( "WB_TOPIMAGE" );
366cdf0e10cSrcweir aWinBits.SetConstant( nTopImageId, sal::static_int_cast<sal_Int32>(WB_TOPIMAGE) );
367cdf0e10cSrcweir nNoLabelId = pHS->getID( "WB_NOLABEL" );
368cdf0e10cSrcweir aWinBits.SetConstant( nNoLabelId, sal::static_int_cast<sal_Int32>(WB_NOLABEL) );
369cdf0e10cSrcweir nVertId = pHS->getID( "WB_VERT" );
370cdf0e10cSrcweir aWinBits.SetConstant( nVertId, sal::static_int_cast<sal_Int32>(WB_VERT) );
371cdf0e10cSrcweir nSysWinId = pHS->getID( "WB_SYSTEMWINDOW" );
372cdf0e10cSrcweir aWinBits.SetConstant( nSysWinId, sal::static_int_cast<sal_Int32>(WB_SYSTEMWINDOW) );
373cdf0e10cSrcweir }
374cdf0e10cSrcweir {
375cdf0e10cSrcweir /********** I n i t B a s i c T y p e s **************************/
376cdf0e10cSrcweir InitLangType();
377cdf0e10cSrcweir aBaseLst.Insert( pFieldUnits = InitFieldUnitsType(), LIST_APPEND );
378cdf0e10cSrcweir aBaseLst.Insert( pTimeFieldFormat = InitTimeFieldFormat(), LIST_APPEND );
379cdf0e10cSrcweir aBaseLst.Insert( pColor = InitColor(), LIST_APPEND );
380cdf0e10cSrcweir aBaseLst.Insert( pMapUnit = InitMapUnit(), LIST_APPEND );
381cdf0e10cSrcweir aBaseLst.Insert( pKey = InitKey(), LIST_APPEND );
382cdf0e10cSrcweir aBaseLst.Insert( pTriState = InitTriState(), LIST_APPEND );
383cdf0e10cSrcweir aBaseLst.Insert( pMessButtons = InitMessButtons(), LIST_APPEND );
384cdf0e10cSrcweir aBaseLst.Insert( pMessDefButton = InitMessDefButton(), LIST_APPEND );
385cdf0e10cSrcweir
386cdf0e10cSrcweir aBaseLst.Insert( pGeometry = InitGeometry(), LIST_APPEND );
387cdf0e10cSrcweir aBaseLst.Insert( pLangGeometry = InitLangGeometry( pGeometry ),
388cdf0e10cSrcweir LIST_APPEND );
389cdf0e10cSrcweir aBaseLst.Insert( pStringList = InitStringList(), LIST_APPEND );
390cdf0e10cSrcweir aBaseLst.Insert( pLangStringList = InitLangStringList( pStringList ),
391cdf0e10cSrcweir LIST_APPEND );
392cdf0e10cSrcweir aBaseLst.Insert( pStringTupel = InitStringTupel(), LIST_APPEND );
393cdf0e10cSrcweir aBaseLst.Insert( pStringTupelList = InitStringTupelList( pStringTupel ),
394cdf0e10cSrcweir LIST_APPEND );
395cdf0e10cSrcweir aBaseLst.Insert( pLangStringTupelList =
396cdf0e10cSrcweir InitLangStringTupelList( pStringTupelList ), LIST_APPEND );
397cdf0e10cSrcweir aBaseLst.Insert( pStringLongTupel = InitStringLongTupel(), LIST_APPEND );
398cdf0e10cSrcweir aBaseLst.Insert( pStringLongTupelList = InitStringLongTupelList( pStringLongTupel ),
399cdf0e10cSrcweir LIST_APPEND );
400cdf0e10cSrcweir aBaseLst.Insert( pLangStringLongTupelList =
401cdf0e10cSrcweir InitLangStringLongTupelList( pStringLongTupelList ), LIST_APPEND );
402cdf0e10cSrcweir }
403cdf0e10cSrcweir {
404cdf0e10cSrcweir /********** R E S O U R C E T Y P E N ******************************/
405cdf0e10cSrcweir /********** R S C M G R **********************************************/
406cdf0e10cSrcweir pRoot = pClassMgr = InitClassMgr();
407cdf0e10cSrcweir
408cdf0e10cSrcweir /********** V e r s i o n s k o n t r o l l e ************************/
409cdf0e10cSrcweir aVersion.pClass = new RscClass( pHS->getID( "VersionControl" ),
410cdf0e10cSrcweir RSC_VERSIONCONTROL, pClassMgr );
411cdf0e10cSrcweir aVersion = aVersion.pClass->Create( NULL, RSCINST() );
412cdf0e10cSrcweir
413cdf0e10cSrcweir /********** S T R I N G **********************************************/
414cdf0e10cSrcweir pClassString = InitClassString( pClassMgr );
415cdf0e10cSrcweir pRoot->Insert( pClassString );
416cdf0e10cSrcweir
417cdf0e10cSrcweir // String als Referenzklasse des Basisstrings einsetzen
418cdf0e10cSrcweir aString.SetRefClass( pClassString );
419cdf0e10cSrcweir
420cdf0e10cSrcweir /********** S T R I N G L I S T **************************************/
421cdf0e10cSrcweir // Klasse anlegen
422cdf0e10cSrcweir nId = pHS->getID( "StringArray" );
423cdf0e10cSrcweir pClassStringArray = new RscClass( nId, RSC_STRINGARRAY, pClassMgr );
424cdf0e10cSrcweir pClassStringArray->SetCallPar( *pStdPar1, *pStdPar2, *pStdParType );
425cdf0e10cSrcweir aNmTb.Put( nId, CLASSNAME, pClassStringArray );
426cdf0e10cSrcweir pRoot->Insert( pClassStringArray );
427cdf0e10cSrcweir
428cdf0e10cSrcweir // Variablen anlegen
429cdf0e10cSrcweir nId = aNmTb.Put( "ItemList", VARNAME );
430cdf0e10cSrcweir pClassStringArray->SetVariable( nId, pLangStringLongTupelList );
431cdf0e10cSrcweir
432cdf0e10cSrcweir /********** B I T M A P **********************************************/
433cdf0e10cSrcweir pClassBitmap = InitClassBitmap( pClassMgr );
434cdf0e10cSrcweir pRoot->Insert( pClassBitmap );
435cdf0e10cSrcweir
436cdf0e10cSrcweir }
437cdf0e10cSrcweir {
438cdf0e10cSrcweir /********** C O L O R ************************************************/
439cdf0e10cSrcweir pClassColor = InitClassColor( pClassMgr, pColor );
440cdf0e10cSrcweir pRoot->Insert( pClassColor );
441cdf0e10cSrcweir
442cdf0e10cSrcweir /********** I M A G E ************************************************/
443cdf0e10cSrcweir pClassImage = InitClassImage( pClassMgr, pClassBitmap, pClassColor );
444cdf0e10cSrcweir pRoot->Insert( pClassImage );
445cdf0e10cSrcweir
446cdf0e10cSrcweir /********** I M A G E L I S T ****************************************/
447cdf0e10cSrcweir pClassImageList = InitClassImageList( pClassMgr, pClassBitmap,
448cdf0e10cSrcweir pClassColor, pStringLongTupelList );
449cdf0e10cSrcweir pRoot->Insert( pClassImageList );
450cdf0e10cSrcweir
451cdf0e10cSrcweir /********** W I N D O W **********************************************/
452cdf0e10cSrcweir pClassWindow = InitClassWindow( pClassMgr, pMapUnit,
453cdf0e10cSrcweir pLangGeometry );
454cdf0e10cSrcweir pRoot->Insert( pClassWindow );
455cdf0e10cSrcweir }
456cdf0e10cSrcweir {
457cdf0e10cSrcweir
458cdf0e10cSrcweir /********** S Y S T E M W I N D O W **********************************/
459cdf0e10cSrcweir pClassSystemWindow = InitClassSystemWindow( pClassWindow );
460cdf0e10cSrcweir //aBaseLst.Insert( pClassSystemWindow, LIST_APPEND );
461cdf0e10cSrcweir pRoot->Insert( pClassSystemWindow );
462cdf0e10cSrcweir
463cdf0e10cSrcweir /********** W O R K W I N D O W **************************************/
464cdf0e10cSrcweir pClassWorkWindow = InitClassWorkWindow( pClassSystemWindow );
465cdf0e10cSrcweir pRoot->Insert( pClassWorkWindow );
466cdf0e10cSrcweir
467cdf0e10cSrcweir /********** D I A L O G **********************************************/
468cdf0e10cSrcweir // Klasse anlegen
469cdf0e10cSrcweir pClassDialog = new RscClass( pHS->getID( "Dialog" ),
470cdf0e10cSrcweir RSC_DIALOG, pClassSystemWindow );
471cdf0e10cSrcweir pClassDialog->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
472cdf0e10cSrcweir aBaseLst.Insert( pClassDialog, LIST_APPEND );
473cdf0e10cSrcweir
474cdf0e10cSrcweir /********** M O D A L D I A L O G ***********************************/
475cdf0e10cSrcweir // Klasse anlegen
476cdf0e10cSrcweir pClassModalDialog = InitClassModalDialog( pClassDialog );
477cdf0e10cSrcweir pRoot->Insert( pClassModalDialog );
478cdf0e10cSrcweir
479cdf0e10cSrcweir /********** M O D E L E S S D I A L O G ******************************/
480cdf0e10cSrcweir // Klasse anlegen
481cdf0e10cSrcweir pClassModelessDialog = InitClassModelessDialog( pClassDialog );
482cdf0e10cSrcweir pRoot->Insert( pClassModelessDialog );
483cdf0e10cSrcweir }
484cdf0e10cSrcweir {
485cdf0e10cSrcweir /********** C O N T R O L ********************************************/
486cdf0e10cSrcweir pClassControl = InitClassControl( pClassWindow );
487cdf0e10cSrcweir pRoot->Insert( pClassControl );
488cdf0e10cSrcweir
489cdf0e10cSrcweir /********** B U T T O N **********************************************/
490cdf0e10cSrcweir // Klasse anlegen
491cdf0e10cSrcweir nId = pHS->getID( "Button" );
492cdf0e10cSrcweir pClassButton = new RscClass( nId, RSC_BUTTON, pClassControl );
493cdf0e10cSrcweir pClassButton->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
494cdf0e10cSrcweir aNmTb.Put( nId, CLASSNAME, pClassButton );
495cdf0e10cSrcweir pRoot->Insert( pClassButton );
496cdf0e10cSrcweir
497cdf0e10cSrcweir /********** C H E C K B O X ******************************************/
498cdf0e10cSrcweir pClassCheckBox = InitClassCheckBox( pClassButton );
499cdf0e10cSrcweir pRoot->Insert( pClassCheckBox );
500cdf0e10cSrcweir
501cdf0e10cSrcweir /********** P U S H B U T T O N **************************************/
502cdf0e10cSrcweir // Klasse anlegen
503cdf0e10cSrcweir pClassPushButton = InitClassPushButton( pClassButton );
504cdf0e10cSrcweir pRoot->Insert( pClassPushButton );
505cdf0e10cSrcweir
506cdf0e10cSrcweir /********** H E L P B U T T O N **************************************/
507cdf0e10cSrcweir // Klasse anlegen
508cdf0e10cSrcweir nId = pHS->getID( "HelpButton" );
509cdf0e10cSrcweir pClassHelpButton = new RscClass( nId, RSC_HELPBUTTON,
510cdf0e10cSrcweir pClassPushButton );
511cdf0e10cSrcweir pClassHelpButton->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
512cdf0e10cSrcweir aNmTb.Put( nId, CLASSNAME, pClassHelpButton );
513cdf0e10cSrcweir pRoot->Insert( pClassHelpButton );
514cdf0e10cSrcweir
515cdf0e10cSrcweir /********** O K B U T T O N ******************************************/
516cdf0e10cSrcweir // Klasse anlegen
517cdf0e10cSrcweir nId = pHS->getID( "OKButton" );
518cdf0e10cSrcweir pClassOKButton = new RscClass( nId, RSC_OKBUTTON,
519cdf0e10cSrcweir pClassPushButton );
520cdf0e10cSrcweir pClassOKButton->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
521cdf0e10cSrcweir aNmTb.Put( nId, CLASSNAME, pClassOKButton );
522cdf0e10cSrcweir pRoot->Insert( pClassOKButton );
523cdf0e10cSrcweir
524cdf0e10cSrcweir /********** C A N C E L B U T T O N **********************************/
525cdf0e10cSrcweir // Klasse anlegen
526cdf0e10cSrcweir nId = pHS->getID( "CancelButton" );
527cdf0e10cSrcweir pClassCancelButton = new RscClass( nId, RSC_CANCELBUTTON,
528cdf0e10cSrcweir pClassPushButton );
529cdf0e10cSrcweir pClassCancelButton->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
530cdf0e10cSrcweir aNmTb.Put( nId, CLASSNAME, pClassCancelButton );
531cdf0e10cSrcweir pRoot->Insert( pClassCancelButton );
532cdf0e10cSrcweir }
533cdf0e10cSrcweir {
534cdf0e10cSrcweir /********** R A D I O B U T T O N ************************************/
535cdf0e10cSrcweir pClassRadioButton = InitClassRadioButton( pClassButton );
536cdf0e10cSrcweir pRoot->Insert( pClassRadioButton );
537cdf0e10cSrcweir
538cdf0e10cSrcweir /********** I m a g e R a d i o B u t t o n **************************/
539cdf0e10cSrcweir nId = pHS->getID( "ImageRadioButton" );
540cdf0e10cSrcweir pClassImageRadioButton = InitClassImageRadioButton( pClassRadioButton,
541cdf0e10cSrcweir pClassImage );
542cdf0e10cSrcweir pRoot->Insert( pClassImageRadioButton );
543cdf0e10cSrcweir
544cdf0e10cSrcweir /********** T R I S T A T E B O X ************************************/
545cdf0e10cSrcweir pClassTriStateBox = InitClassTriStateBox( pClassControl, pTriState );
546cdf0e10cSrcweir pRoot->Insert( pClassTriStateBox );
547cdf0e10cSrcweir
548cdf0e10cSrcweir /********** I M A G E B U T T O N ************************************/
549cdf0e10cSrcweir pClassImageButton = InitClassImageButton( pClassPushButton,
550cdf0e10cSrcweir pClassImage, pTriState );
551cdf0e10cSrcweir pRoot->Insert( pClassImageButton );
552cdf0e10cSrcweir
553cdf0e10cSrcweir /********** E D I T **************************************************/
554cdf0e10cSrcweir pClassEdit = InitClassEdit( pClassControl );
555cdf0e10cSrcweir pRoot->Insert( pClassEdit );
556cdf0e10cSrcweir
557cdf0e10cSrcweir /********** M U L T I L I N E E D I T ********************************/
558cdf0e10cSrcweir pClassMultiLineEdit = InitClassMultiLineEdit( pClassEdit );
559cdf0e10cSrcweir pRoot->Insert( pClassMultiLineEdit );
560cdf0e10cSrcweir
561cdf0e10cSrcweir /********** S C R O L L B A R ****************************************/
562cdf0e10cSrcweir pClassScrollBar = InitClassScrollBar( pClassControl );
563cdf0e10cSrcweir pRoot->Insert( pClassScrollBar );
564cdf0e10cSrcweir
565cdf0e10cSrcweir }
566cdf0e10cSrcweir {
567cdf0e10cSrcweir /********** L I S T B O X ********************************************/
568cdf0e10cSrcweir pClassListBox = InitClassListBox( pClassControl, pLangStringLongTupelList );
569cdf0e10cSrcweir pRoot->Insert( pClassListBox );
570cdf0e10cSrcweir
571cdf0e10cSrcweir /********** M U L T I L I S T B O X **********************************/
572cdf0e10cSrcweir pClassMultiListBox = InitClassMultiListBox( pClassListBox);
573cdf0e10cSrcweir pRoot->Insert( pClassMultiListBox );
574cdf0e10cSrcweir
575cdf0e10cSrcweir /********** C O M B O B O X ******************************************/
576cdf0e10cSrcweir pClassComboBox = InitClassComboBox( pClassEdit, pLangStringList );
577cdf0e10cSrcweir pRoot->Insert( pClassComboBox );
578cdf0e10cSrcweir
579cdf0e10cSrcweir /********** F I X E D T E X T ****************************************/
580cdf0e10cSrcweir pClassFixedText = InitClassFixedText( pClassControl );
581cdf0e10cSrcweir pRoot->Insert( pClassFixedText );
582cdf0e10cSrcweir
583cdf0e10cSrcweir /********** F i x e d B i t m a p ************************************/
584cdf0e10cSrcweir pClassFixedBitmap = InitClassFixedBitmap( pClassControl, pClassBitmap );
585cdf0e10cSrcweir pRoot->Insert( pClassFixedBitmap );
586cdf0e10cSrcweir
587cdf0e10cSrcweir /********** F i x e d I m a g e **************************************/
588cdf0e10cSrcweir pClassFixedImage = InitClassFixedImage( pClassControl, pClassImage );
589cdf0e10cSrcweir pRoot->Insert( pClassFixedImage );
590cdf0e10cSrcweir
591cdf0e10cSrcweir /********** G R O U P B O X ******************************************/
592cdf0e10cSrcweir // Klasse anlegen
593cdf0e10cSrcweir nId = pHS->getID( "GroupBox" );
594cdf0e10cSrcweir pClassGroupBox = new RscClass( nId, RSC_GROUPBOX, pClassControl );
595cdf0e10cSrcweir pClassGroupBox->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
596cdf0e10cSrcweir aNmTb.Put( nId, CLASSNAME, pClassGroupBox );
597cdf0e10cSrcweir pRoot->Insert( pClassGroupBox );
598cdf0e10cSrcweir
599cdf0e10cSrcweir /********** K E Y C O D E ********************************************/
600cdf0e10cSrcweir pClassKeyCode = InitClassKeyCode( pClassMgr, pKey );
601cdf0e10cSrcweir pRoot->Insert( pClassKeyCode );
602cdf0e10cSrcweir {
603cdf0e10cSrcweir pLangClassKeyCode = new RscClassArray( pHS->getID( "LangKeyCode" ),
604cdf0e10cSrcweir RSC_KEYCODE, pClassKeyCode, &aLangType );
605cdf0e10cSrcweir aBaseLst.Insert( pLangClassKeyCode );
606cdf0e10cSrcweir }
607cdf0e10cSrcweir
608cdf0e10cSrcweir /********** A C C E L I T E M ***************************************/
609cdf0e10cSrcweir pClassAccelItem = InitClassAccelItem( pClassMgr, pLangClassKeyCode );
610cdf0e10cSrcweir pRoot->Insert( pClassAccelItem );
611cdf0e10cSrcweir }
612cdf0e10cSrcweir {
613cdf0e10cSrcweir /********** A C C E L E R A T O R ************************************/
614cdf0e10cSrcweir pClassAccel = InitClassAccel( pClassMgr, pClassAccelItem );
615cdf0e10cSrcweir pRoot->Insert( pClassAccel );
616cdf0e10cSrcweir nAcceleratorType = pClassAccel->GetId();
617cdf0e10cSrcweir
618cdf0e10cSrcweir /********** A C C E L I T E M ***************************************/
619cdf0e10cSrcweir // pClassAccel ist erst hier definiert
620cdf0e10cSrcweir nId = aNmTb.Put( "SubAccelerator", VARNAME );
621cdf0e10cSrcweir pClassAccelItem->SetVariable( nId, pClassAccel, NULL, VAR_SVDYNAMIC,
622cdf0e10cSrcweir ACCELITEM_ACCEL );
623cdf0e10cSrcweir
624cdf0e10cSrcweir /********** M E N U I T E M ******************************************/
625cdf0e10cSrcweir pClassMenuItem = InitClassMenuItem( pClassMgr, pClassBitmap,
626cdf0e10cSrcweir pLangClassKeyCode );
627cdf0e10cSrcweir pRoot->Insert( pClassMenuItem );
628cdf0e10cSrcweir
629cdf0e10cSrcweir /********** M E N U **************************************************/
630cdf0e10cSrcweir pClassMenu = InitClassMenu( pClassMgr, pClassMenuItem );
631cdf0e10cSrcweir pRoot->Insert( pClassMenu );
632cdf0e10cSrcweir
633cdf0e10cSrcweir /********** M E N U I T E M ******************************************/
634cdf0e10cSrcweir // pClassMenu ist erst hier definiert
635cdf0e10cSrcweir nId = aNmTb.Put( "SubMenu", VARNAME );
636cdf0e10cSrcweir pClassMenuItem->SetVariable( nId, pClassMenu, NULL, VAR_SVDYNAMIC,
637cdf0e10cSrcweir RSC_MENUITEM_MENU );
638cdf0e10cSrcweir
639cdf0e10cSrcweir /********** M E N U B U T T O N **************************************/
640cdf0e10cSrcweir pClassMenuButton = InitClassMenuButton( pClassControl, pClassMenu );
641cdf0e10cSrcweir pRoot->Insert( pClassMenuButton );
642cdf0e10cSrcweir
643cdf0e10cSrcweir /********** M E S S A G E B O X **************************************/
644cdf0e10cSrcweir pClassMessBox = InitClassMessBox( pClassMgr, pMessButtons,
645cdf0e10cSrcweir pMessDefButton );
646cdf0e10cSrcweir pRoot->Insert( pClassMessBox );
647cdf0e10cSrcweir
648cdf0e10cSrcweir /********** I N F O B O X ********************************************/
649cdf0e10cSrcweir // Klasse anlegen
650cdf0e10cSrcweir nId = pHS->getID( "InfoBox" );
651cdf0e10cSrcweir pClassInfoBox = new RscClass( nId, RSC_INFOBOX, pClassMessBox );
652cdf0e10cSrcweir pClassInfoBox->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
653cdf0e10cSrcweir aNmTb.Put( nId, CLASSNAME, pClassInfoBox );
654cdf0e10cSrcweir pRoot->Insert( pClassInfoBox );
655cdf0e10cSrcweir
656cdf0e10cSrcweir /********** W A R N I N G B O X **************************************/
657cdf0e10cSrcweir // Klasse anlegen
658cdf0e10cSrcweir nId = pHS->getID( "WarningBox" );
659cdf0e10cSrcweir pClassWarningBox = new RscClass( nId, RSC_WARNINGBOX, pClassMessBox );
660cdf0e10cSrcweir pClassWarningBox->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
661cdf0e10cSrcweir aNmTb.Put( nId, CLASSNAME, pClassWarningBox );
662cdf0e10cSrcweir pRoot->Insert( pClassWarningBox );
663cdf0e10cSrcweir
664cdf0e10cSrcweir /********** E R R O R B O X ******************************************/
665cdf0e10cSrcweir // Klasse anlegen
666cdf0e10cSrcweir nId = pHS->getID( "ErrorBox" );
667cdf0e10cSrcweir pClassErrorBox = new RscClass( nId, RSC_ERRORBOX, pClassMessBox );
668cdf0e10cSrcweir pClassErrorBox->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
669cdf0e10cSrcweir aNmTb.Put( nId, CLASSNAME, pClassErrorBox );
670cdf0e10cSrcweir pRoot->Insert( pClassErrorBox );
671cdf0e10cSrcweir
672cdf0e10cSrcweir /********** Q U E R Y B O X ******************************************/
673cdf0e10cSrcweir // Klasse anlegen
674cdf0e10cSrcweir nId = pHS->getID( "QueryBox" );
675cdf0e10cSrcweir pClassQueryBox = new RscClass( nId, RSC_QUERYBOX, pClassMessBox );
676cdf0e10cSrcweir pClassQueryBox->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
677cdf0e10cSrcweir aNmTb.Put( nId, CLASSNAME, pClassQueryBox );
678cdf0e10cSrcweir pRoot->Insert( pClassQueryBox );
679cdf0e10cSrcweir }
680cdf0e10cSrcweir {
681cdf0e10cSrcweir /********** S P L I T T E R ******************************************/
682cdf0e10cSrcweir pClassSplitter = InitClassSplitter( pClassWindow );
683cdf0e10cSrcweir pRoot->Insert( pClassSplitter );
684cdf0e10cSrcweir
685cdf0e10cSrcweir /********** S P L I T W I N D O W ************************************/
686cdf0e10cSrcweir pClassSplitWindow = InitClassSplitWindow( pClassWindow );
687cdf0e10cSrcweir pRoot->Insert( pClassSplitWindow );
688cdf0e10cSrcweir
689cdf0e10cSrcweir /********** S P I N B U T T O N **************************************/
690cdf0e10cSrcweir // Klasse anlegen
691cdf0e10cSrcweir nId = pHS->getID( "SpinButton" );
692cdf0e10cSrcweir pClassSpinButton = new RscClass( nId, RSC_SPINBUTTON, pClassControl );
693cdf0e10cSrcweir pClassSpinButton->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
694cdf0e10cSrcweir aNmTb.Put( nId, CLASSNAME, pClassSpinButton );
695cdf0e10cSrcweir {
696cdf0e10cSrcweir RscClient * pClient;
697cdf0e10cSrcweir
698cdf0e10cSrcweir // Clientvariablen einfuegen
699cdf0e10cSrcweir // Sysmodal
700cdf0e10cSrcweir aBaseLst.Insert(
701cdf0e10cSrcweir pClient = new RscClient( pHS->getID( "sal_Bool" ), RSC_NOTYPE,
702cdf0e10cSrcweir &aWinBits, nRepeatId ),
703cdf0e10cSrcweir LIST_APPEND );
704cdf0e10cSrcweir nId = aNmTb.Put( "Repeat", VARNAME );
705cdf0e10cSrcweir pClassSpinButton->SetVariable( nId, pClient, NULL,
706cdf0e10cSrcweir VAR_NODATAINST, 0, nWinBitVarId );
707cdf0e10cSrcweir }
708cdf0e10cSrcweir pRoot->Insert( pClassSpinButton );
709cdf0e10cSrcweir }
710cdf0e10cSrcweir {
711cdf0e10cSrcweir /********** T I M E **************************************************/
712cdf0e10cSrcweir pClassTime = InitClassTime( pClassMgr );
713cdf0e10cSrcweir pRoot->Insert( pClassTime );
714cdf0e10cSrcweir
715cdf0e10cSrcweir /********** D A T E **************************************************/
716cdf0e10cSrcweir pClassDate = InitClassDate( pClassMgr );
717cdf0e10cSrcweir pRoot->Insert( pClassDate );
718cdf0e10cSrcweir }
719cdf0e10cSrcweir {
720cdf0e10cSrcweir /********** S P I N F I E L D ****************************************/
721cdf0e10cSrcweir pClassSpinField = InitClassSpinField( pClassEdit );
722cdf0e10cSrcweir pRoot->Insert( pClassSpinField );
723cdf0e10cSrcweir }
724cdf0e10cSrcweir {
725cdf0e10cSrcweir /********** P A T T E R N F I E L D **********************************/
726cdf0e10cSrcweir { // Mehrfachvererbung von Hand
727cdf0e10cSrcweir RscTop * pClassTmp = InitClassPatternFormatter( pClassSpinField );
728cdf0e10cSrcweir aBaseLst.Insert( pClassTmp, LIST_APPEND );
729cdf0e10cSrcweir
730cdf0e10cSrcweir pClassPatternField = InitClassPatternField( pClassTmp );
731cdf0e10cSrcweir pRoot->Insert( pClassPatternField );
732cdf0e10cSrcweir }
733cdf0e10cSrcweir /********** N U M E R I C F I E L D **********************************/
734cdf0e10cSrcweir { // Mehrfachvererbung von Hand
735cdf0e10cSrcweir RscTop * pClassTmp = InitClassNumericFormatter( pClassSpinField );
736cdf0e10cSrcweir aBaseLst.Insert( pClassTmp, LIST_APPEND );
737cdf0e10cSrcweir
738cdf0e10cSrcweir pClassNumericField = InitClassNumericField( pClassTmp );
739cdf0e10cSrcweir pRoot->Insert( pClassNumericField );
740cdf0e10cSrcweir }
741cdf0e10cSrcweir /********** M E T R I C F I E L D ************************************/
742cdf0e10cSrcweir { // Mehrfachvererbung von Hand
743cdf0e10cSrcweir RscTop * pClassTmp = InitClassNumericFormatter( pClassSpinField );
744cdf0e10cSrcweir aBaseLst.Insert( pClassTmp, LIST_APPEND );
745cdf0e10cSrcweir pClassTmp = InitClassMetricFormatter( pClassTmp, pFieldUnits );
746cdf0e10cSrcweir aBaseLst.Insert( pClassTmp, LIST_APPEND );
747cdf0e10cSrcweir
748cdf0e10cSrcweir pClassMetricField = InitClassMetricField( pClassTmp );
749cdf0e10cSrcweir pRoot->Insert( pClassMetricField );
750cdf0e10cSrcweir }
751cdf0e10cSrcweir /********** C U R R E N C Y F I E L D ********************************/
752cdf0e10cSrcweir { // Mehrfachvererbung von Hand
753cdf0e10cSrcweir RscTop * pClassTmp = InitClassNumericFormatter( pClassSpinField );
754cdf0e10cSrcweir aBaseLst.Insert( pClassTmp, LIST_APPEND );
755cdf0e10cSrcweir pClassTmp = InitClassCurrencyFormatter( pClassTmp, pFieldUnits );
756cdf0e10cSrcweir aBaseLst.Insert( pClassTmp, LIST_APPEND );
757cdf0e10cSrcweir
758cdf0e10cSrcweir pClassCurrencyField = InitClassCurrencyField( "CurrencyField", RSC_CURRENCYFIELD, pClassTmp );
759cdf0e10cSrcweir pRoot->Insert( pClassCurrencyField );
760cdf0e10cSrcweir
761cdf0e10cSrcweir pClassLongCurrencyField = InitClassCurrencyField( "LongCurrencyField", RSC_LONGCURRENCYFIELD, pClassTmp );
762cdf0e10cSrcweir pRoot->Insert( pClassLongCurrencyField );
763cdf0e10cSrcweir
764cdf0e10cSrcweir }
765cdf0e10cSrcweir /********** D A T E F I E L D ****************************************/
766cdf0e10cSrcweir { // Mehrfachvererbung von Hand
767cdf0e10cSrcweir RscTop * pClassTmp = InitClassDateFormatter( pClassSpinField, pClassDate );
768cdf0e10cSrcweir aBaseLst.Insert( pClassTmp, LIST_APPEND );
769cdf0e10cSrcweir
770cdf0e10cSrcweir pClassDateField = InitClassDateField( pClassTmp, pClassDate );
771cdf0e10cSrcweir pRoot->Insert( pClassDateField );
772cdf0e10cSrcweir }
773cdf0e10cSrcweir /********** T I M E F I E L D ****************************************/
774cdf0e10cSrcweir { // Mehrfachvererbung von Hand
775cdf0e10cSrcweir RscTop * pClassTmp = InitClassTimeFormatter( pClassSpinField, pClassTime,
776cdf0e10cSrcweir pTimeFieldFormat );
777cdf0e10cSrcweir aBaseLst.Insert( pClassTmp, LIST_APPEND );
778cdf0e10cSrcweir
779cdf0e10cSrcweir pClassTimeField = InitClassTimeField( pClassTmp, pClassTime );
780cdf0e10cSrcweir pRoot->Insert( pClassTimeField );
781cdf0e10cSrcweir }
782cdf0e10cSrcweir /********** P A T T E R N B O X **************************************/
783cdf0e10cSrcweir { // Mehrfachvererbung von Hand
784cdf0e10cSrcweir RscTop * pClassTmp = InitClassPatternFormatter( pClassComboBox );
785cdf0e10cSrcweir aBaseLst.Insert( pClassTmp, LIST_APPEND );
786cdf0e10cSrcweir
787cdf0e10cSrcweir pClassPatternBox = InitClassPatternBox( pClassTmp );
788cdf0e10cSrcweir pRoot->Insert( pClassPatternBox );
789cdf0e10cSrcweir }
790cdf0e10cSrcweir /********** N U M E R I C B O X **************************************/
791cdf0e10cSrcweir { // Mehrfachvererbung von Hand
792cdf0e10cSrcweir RscTop * pClassTmp = InitClassNumericFormatter( pClassComboBox );
793cdf0e10cSrcweir aBaseLst.Insert( pClassTmp, LIST_APPEND );
794cdf0e10cSrcweir
795cdf0e10cSrcweir pClassNumericBox = InitClassNumericBox( pClassTmp );
796cdf0e10cSrcweir pRoot->Insert( pClassNumericBox );
797cdf0e10cSrcweir }
798cdf0e10cSrcweir }
799cdf0e10cSrcweir {
800cdf0e10cSrcweir /********** M E T R I C B O X ****************************************/
801cdf0e10cSrcweir { // Mehrfachvererbung von Hand
802cdf0e10cSrcweir RscTop * pClassTmp = InitClassNumericFormatter( pClassComboBox );
803cdf0e10cSrcweir aBaseLst.Insert( pClassTmp, LIST_APPEND );
804cdf0e10cSrcweir pClassTmp = InitClassMetricFormatter( pClassTmp, pFieldUnits );
805cdf0e10cSrcweir aBaseLst.Insert( pClassTmp, LIST_APPEND );
806cdf0e10cSrcweir
807cdf0e10cSrcweir pClassMetricBox = InitClassMetricBox( pClassTmp );
808cdf0e10cSrcweir pRoot->Insert( pClassMetricBox );
809cdf0e10cSrcweir }
810cdf0e10cSrcweir /********** C U R R E N C Y B O X ************************************/
811cdf0e10cSrcweir { // Mehrfachvererbung von Hand
812cdf0e10cSrcweir RscTop * pClassTmp = InitClassNumericFormatter( pClassComboBox );
813cdf0e10cSrcweir aBaseLst.Insert( pClassTmp, LIST_APPEND );
814cdf0e10cSrcweir pClassTmp = InitClassCurrencyFormatter( pClassTmp, pFieldUnits );
815cdf0e10cSrcweir aBaseLst.Insert( pClassTmp, LIST_APPEND );
816cdf0e10cSrcweir
817cdf0e10cSrcweir pClassCurrencyBox = InitClassCurrencyBox( "CurrencyBox", RSC_CURRENCYBOX, pClassTmp );
818cdf0e10cSrcweir pRoot->Insert( pClassCurrencyBox );
819cdf0e10cSrcweir
820cdf0e10cSrcweir pClassLongCurrencyBox = InitClassCurrencyBox( "LongCurrencyBox", RSC_LONGCURRENCYBOX, pClassTmp );
821cdf0e10cSrcweir pRoot->Insert( pClassLongCurrencyBox );
822cdf0e10cSrcweir }
823cdf0e10cSrcweir /********** D A T E B O X ********************************************/
824cdf0e10cSrcweir { // Mehrfachvererbung von Hand
825cdf0e10cSrcweir RscTop * pClassTmp = InitClassDateFormatter( pClassComboBox, pClassDate );
826cdf0e10cSrcweir aBaseLst.Insert( pClassTmp, LIST_APPEND );
827cdf0e10cSrcweir
828cdf0e10cSrcweir pClassDateBox = InitClassDateBox( pClassTmp, pClassDate );
829cdf0e10cSrcweir pRoot->Insert( pClassDateBox );
830cdf0e10cSrcweir }
831cdf0e10cSrcweir /********** T I M E B O X ********************************************/
832cdf0e10cSrcweir { // Mehrfachvererbung von Hand
833cdf0e10cSrcweir RscTop * pClassTmp = InitClassTimeFormatter( pClassComboBox, pClassTime,
834cdf0e10cSrcweir pTimeFieldFormat );
835cdf0e10cSrcweir aBaseLst.Insert( pClassTmp, LIST_APPEND );
836cdf0e10cSrcweir
837cdf0e10cSrcweir pClassTimeBox = InitClassTimeBox( pClassTmp, pClassTime );
838cdf0e10cSrcweir pRoot->Insert( pClassTimeBox );
839cdf0e10cSrcweir }
840cdf0e10cSrcweir /********** D O C K I N G W I N D O W ********************************/
841cdf0e10cSrcweir pClassDockingWindow = InitClassDockingWindow( pClassWindow, pMapUnit );
842cdf0e10cSrcweir pRoot->Insert( pClassDockingWindow );
843cdf0e10cSrcweir
844cdf0e10cSrcweir /********** T O O L B O X I T E M ************************************/
845cdf0e10cSrcweir pClassToolBoxItem = InitClassToolBoxItem( pClassMgr, pClassBitmap,
846cdf0e10cSrcweir pClassImage, pTriState );
847cdf0e10cSrcweir pRoot->Insert( pClassToolBoxItem );
848cdf0e10cSrcweir
849cdf0e10cSrcweir /********** T O O L B O X ********************************************/
850cdf0e10cSrcweir pClassToolBox = InitClassToolBox( pClassDockingWindow, pClassToolBoxItem,
851cdf0e10cSrcweir pClassImageList );
852cdf0e10cSrcweir pRoot->Insert( pClassToolBox );
853cdf0e10cSrcweir
854cdf0e10cSrcweir /********** S T A T U S B A R ****************************************/
855cdf0e10cSrcweir pClassStatusBar = InitClassStatusBar( pClassWindow );
856cdf0e10cSrcweir pRoot->Insert( pClassStatusBar );
857cdf0e10cSrcweir
858cdf0e10cSrcweir /********** M O R E B U T T O N **************************************/
859cdf0e10cSrcweir pClassMoreButton = InitClassMoreButton( pClassPushButton, pMapUnit );
860cdf0e10cSrcweir pRoot->Insert( pClassMoreButton );
861cdf0e10cSrcweir
862cdf0e10cSrcweir /********** F L O A T W I N D O W ************************************/
863cdf0e10cSrcweir pClassFloatingWindow = InitClassFloatingWindow( pClassSystemWindow,
864cdf0e10cSrcweir pMapUnit );
865cdf0e10cSrcweir pRoot->Insert( pClassFloatingWindow );
866cdf0e10cSrcweir
867cdf0e10cSrcweir /********** T A B P A G E ********************************************/
868cdf0e10cSrcweir // Klasse anlegen
869cdf0e10cSrcweir nId = pHS->getID( "TabPage" );
870cdf0e10cSrcweir pClassTabPage =
871cdf0e10cSrcweir new RscClass( nId, RSC_TABPAGE, pClassWindow );
872cdf0e10cSrcweir pClassTabPage->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
873cdf0e10cSrcweir aNmTb.Put( nId, CLASSNAME, pClassTabPage );
874cdf0e10cSrcweir pRoot->Insert( pClassTabPage );
875cdf0e10cSrcweir
876cdf0e10cSrcweir /********** T A B D I A L O G ****************************************/
877cdf0e10cSrcweir // Klasse anlegen
878cdf0e10cSrcweir nId = pHS->getID( "TabDialog" );
879cdf0e10cSrcweir pClassTabDialog =
880cdf0e10cSrcweir new RscClass( nId, RSC_TABDIALOG, pClassModalDialog );
881cdf0e10cSrcweir pClassTabDialog->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
882cdf0e10cSrcweir aNmTb.Put( nId, CLASSNAME, pClassTabDialog );
883cdf0e10cSrcweir pRoot->Insert( pClassTabDialog );
884cdf0e10cSrcweir
885cdf0e10cSrcweir /********** T A B C O N T R O L I T E M *******************************/
886cdf0e10cSrcweir pClassTabControlItem = InitClassTabControlItem( pClassMgr,
887cdf0e10cSrcweir pClassTabPage );
888cdf0e10cSrcweir pRoot->Insert( pClassTabControlItem );
889cdf0e10cSrcweir
890cdf0e10cSrcweir /********** T A B C O N T R O L **************************************/
891cdf0e10cSrcweir pClassTabControl = InitClassTabControl( pClassControl,
892cdf0e10cSrcweir pClassTabControlItem );
893cdf0e10cSrcweir pRoot->Insert( pClassTabControl );
894cdf0e10cSrcweir
895cdf0e10cSrcweir /********** F I X E D L I N E ****************************************/
896cdf0e10cSrcweir // Klasse anlegen
897cdf0e10cSrcweir nId = pHS->getID( "FixedLine" );
898cdf0e10cSrcweir pClassFixedLine =
899cdf0e10cSrcweir new RscClass( nId, RSC_FIXEDLINE, pClassControl );
900cdf0e10cSrcweir pClassFixedLine->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
901cdf0e10cSrcweir
902cdf0e10cSrcweir INS_WINBIT(pClassFixedLine,Vert)
903cdf0e10cSrcweir
904cdf0e10cSrcweir aNmTb.Put( nId, CLASSNAME, pClassFixedLine );
905cdf0e10cSrcweir pRoot->Insert( pClassFixedLine );
906cdf0e10cSrcweir
907cdf0e10cSrcweir /********** S C R O L L B A R B O X **********************************/
908cdf0e10cSrcweir // Klasse anlegen
909cdf0e10cSrcweir nId = pHS->getID( "ScrollBarBox" );
910cdf0e10cSrcweir pClassScrollBarBox =
911cdf0e10cSrcweir new RscClass( nId, RSC_SCROLLBARBOX, pClassWindow );
912cdf0e10cSrcweir pClassScrollBarBox->SetCallPar( *pWinPar1, *pWinPar2, *pWinParType );
913cdf0e10cSrcweir aNmTb.Put( nId, CLASSNAME, pClassScrollBarBox );
914cdf0e10cSrcweir pRoot->Insert( pClassScrollBarBox );
915cdf0e10cSrcweir INS_WINBIT(pClassScrollBarBox,Sizeable)
916cdf0e10cSrcweir
917cdf0e10cSrcweir /********** S F X S T Y L E F A M I L Y I T E M **********************/
918cdf0e10cSrcweir pClassSfxStyleFamilyItem = InitClassSfxStyleFamilyItem( pClassMgr,
919cdf0e10cSrcweir pClassBitmap,
920cdf0e10cSrcweir pClassImage,
921cdf0e10cSrcweir pLangStringLongTupelList );
922cdf0e10cSrcweir pRoot->Insert( pClassSfxStyleFamilyItem );
923cdf0e10cSrcweir
924cdf0e10cSrcweir /********** S F X T E M P L A T E D I A L O G ************************/
925cdf0e10cSrcweir pClassSfxTemplateDialog = InitClassSfxTemplateDialog( pClassMgr,
926cdf0e10cSrcweir pClassSfxStyleFamilyItem );
927cdf0e10cSrcweir pRoot->Insert( pClassSfxTemplateDialog );
928cdf0e10cSrcweir
929cdf0e10cSrcweir /********** S F X I N F O I T E M ************************************/
930cdf0e10cSrcweir pClassSfxSlotInfo = InitClassSfxSlotInfo( pClassMgr );
931cdf0e10cSrcweir pRoot->Insert( pClassSfxSlotInfo );
932cdf0e10cSrcweir }
933cdf0e10cSrcweir NameToVerCtrl( aVersion, pRoot, pClassString );
934cdf0e10cSrcweir
935cdf0e10cSrcweir aNmTb.SetSort();
936cdf0e10cSrcweir }
937cdf0e10cSrcweir
938