merge the formfield patch from ooo-build
[ooovba.git] / binfilter / bf_so3 / inc / insdlg.hxx
blob37c399d9950ce5a46e1748b376ddf625c4521384
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: insdlg.hxx,v $
10 * $Revision: 1.5 $
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 ************************************************************************/
30 #ifndef _INSDLG_HXX
31 #define _INSDLG_HXX
33 #ifndef _GLOBNAME_HXX //autogen
34 #include <tools/globname.hxx>
35 #endif
36 #ifndef _OWNCONT_HXX
37 #include <bf_svtools/ownlist.hxx>
38 #endif
39 #ifndef _SO2REF_HXX
40 #include <bf_so3/so2ref.hxx>
41 #endif
43 #ifndef INCLUDED_SO3DLLAPI_H
44 #include "bf_so3/so3dllapi.h"
45 #endif
47 class SvAppletObject;
49 #ifndef SV_DECL_SVBASELINK2_DEFINED
50 #define SV_DECL_SVBASELINK2_DEFINED
51 SV_DECL_REF(SvBaseLink2)
52 #endif
54 namespace binfilter
56 #ifndef SO2_DECL_SVINPLACEOBJECT_DEFINED
57 #define SO2_DECL_SVINPLACEOBJECT_DEFINED
58 SO2_DECL_REF(SvInPlaceObject)
59 #endif
61 /********************** SvObjectServer ***********************************
62 *************************************************************************/
63 class SO3_DLLPUBLIC SvObjectServer
65 private:
66 SvGlobalName aClassName;
67 String aHumanName;
69 public:
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();
87 } // namespace so3
89 #endif // _INSDLG_HXX