Update ooo320-m1
[ooovba.git] / basic / source / inc / collelem.hxx
blob5279ec34755249a521dcbeaffc41b74fe7061f0e
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: collelem.hxx,v $
10 * $Revision: 1.7 $
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 ************************************************************************/
31 #ifndef _SAMPLE_COLLELEM_HXX
32 #define _SAMPLE_COLLELEM_HXX
34 #include <basic/sbxobj.hxx>
36 // Das Sample-Element ist ein kleines Objekt, das die Properties
37 // Name und Value enth„lt sowie die Methode Say, die den �bergebenen
38 // Text mit dem eigenen Namen verkoppelt. Der Name ist von aussen setzbar.
39 // Die Implementation arbeitet ausschliesslich mit dynamischen Elementen.
41 class SampleElement : public SbxObject
43 // Broadcaster Notification
44 virtual void SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType,
45 const SfxHint& rHint, const TypeId& rHintType );
46 public:
47 SampleElement( const String& );
50 #endif