LCOV - code coverage report
Current view: top level - libreoffice/rsc/source/parser - rscinit.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 426 426 100.0 %
Date: 2012-12-27 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

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

Generated by: LCOV version 1.10