1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: insdlg.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
33 #ifndef _GLOBNAME_HXX //autogen
34 #include <tools/globname.hxx>
37 #include <bf_svtools/ownlist.hxx>
40 #include <bf_so3/so2ref.hxx>
43 #ifndef INCLUDED_SO3DLLAPI_H
44 #include "bf_so3/so3dllapi.h"
49 #ifndef SV_DECL_SVBASELINK2_DEFINED
50 #define SV_DECL_SVBASELINK2_DEFINED
51 SV_DECL_REF(SvBaseLink2
)
56 #ifndef SO2_DECL_SVINPLACEOBJECT_DEFINED
57 #define SO2_DECL_SVINPLACEOBJECT_DEFINED
58 SO2_DECL_REF(SvInPlaceObject
)
61 /********************** SvObjectServer ***********************************
62 *************************************************************************/
63 class SO3_DLLPUBLIC SvObjectServer
66 SvGlobalName aClassName
;
70 SvObjectServer( const SvGlobalName
& rClassP
, const String
& rHumanP
) :
71 aClassName( rClassP
),
72 aHumanName( rHumanP
) {}
74 const SvGlobalName
& GetClassName() const { return aClassName
; }
75 const String
& GetHumanName() const { return aHumanName
; }
78 class SO3_DLLPRIVATE SvObjectServerList
80 PRV_SV_DECL_OWNER_LIST(SvObjectServerList
,SvObjectServer
)
81 SO3_DLLPRIVATE
const SvObjectServer
* Get( const SvGlobalName
& ) const;
82 SO3_DLLPRIVATE
void Remove( const SvGlobalName
& );
84 SO3_DLLPRIVATE
void FillInsertObjects();