2002-11-18 04:19:28 -06:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-11 03:58:37 -05:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2002-11-18 04:19:28 -06:00
|
|
|
*
|
2008-04-11 03:58:37 -05:00
|
|
|
* Copyright 2008 by Sun Microsystems, Inc.
|
2002-11-18 04:19:28 -06:00
|
|
|
*
|
2008-04-11 03:58:37 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2002-11-18 04:19:28 -06:00
|
|
|
*
|
2008-04-11 03:58:37 -05:00
|
|
|
* $RCSfile: servres.cxx,v $
|
|
|
|
* $Revision: 1.5 $
|
2002-11-18 04:19:28 -06:00
|
|
|
*
|
2008-04-11 03:58:37 -05:00
|
|
|
* This file is part of OpenOffice.org.
|
2002-11-18 04:19:28 -06:00
|
|
|
*
|
2008-04-11 03:58:37 -05:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2002-11-18 04:19:28 -06:00
|
|
|
*
|
2008-04-11 03:58:37 -05:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2002-11-18 04:19:28 -06:00
|
|
|
*
|
2008-04-11 03:58:37 -05:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2002-11-18 04:19:28 -06:00
|
|
|
*
|
|
|
|
************************************************************************/
|
2006-09-16 18:34:15 -05:00
|
|
|
|
|
|
|
// MARKER(update_precomp.py): autogen include statement, do not remove
|
|
|
|
#include "precompiled_automation.hxx"
|
2002-11-18 04:19:28 -06:00
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
#include "servres.hrc"
|
|
|
|
#include "servuid.hxx"
|
|
|
|
#include "servres.hxx"
|
|
|
|
|
|
|
|
|
|
|
|
ModalDialogGROSSER_TEST_DLG::ModalDialogGROSSER_TEST_DLG( Window * pParent, const ResId & rResId, BOOL bFreeRes )
|
|
|
|
: ModalDialog( pParent, rResId ),
|
2007-04-26 03:39:34 -05:00
|
|
|
aCheckBox1( this, ResId( 1, *rResId.GetResMgr() ) ),
|
|
|
|
aTriStateBox1( this, ResId( 1, *rResId.GetResMgr() ) ),
|
|
|
|
aOKButton1( this, ResId( 1, *rResId.GetResMgr() ) ),
|
|
|
|
aTimeField1( this, ResId( 1, *rResId.GetResMgr() ) ),
|
|
|
|
aMultiLineEdit1( this, ResId( 1, *rResId.GetResMgr() ) ),
|
|
|
|
aGroupBox1( this, ResId( 1, *rResId.GetResMgr() ) ),
|
|
|
|
aRadioButton1( this, ResId( 1, *rResId.GetResMgr() ) ),
|
|
|
|
aRadioButton2( this, ResId( 2, *rResId.GetResMgr() ) ),
|
|
|
|
aMultiListBox1( this, ResId( 1, *rResId.GetResMgr() ) ),
|
|
|
|
aComboBox1( this, ResId( 1, *rResId.GetResMgr() ) ),
|
|
|
|
aDateBox1( this, ResId( 1, *rResId.GetResMgr() ) ),
|
|
|
|
aFixedText1( this, ResId( 1, *rResId.GetResMgr() ) )
|
2002-11-18 04:19:28 -06:00
|
|
|
{
|
|
|
|
if( bFreeRes ) FreeResource();
|
|
|
|
}
|
|
|
|
|
|
|
|
MenuMENU_CLIENT::MenuMENU_CLIENT( const ResId & rResId, BOOL )
|
|
|
|
: MenuBar( rResId )
|
|
|
|
{
|
|
|
|
// No subresources, automatic free resource
|
|
|
|
}
|
|
|
|
|