/*************************************************************************
 *
 *  OpenOffice.org - a multi-platform office productivity suite
 *
 *  $RCSfile: contenv.hxx,v $
 *
 *  $Revision: 1.4 $
 *
 *  last change: $Author: rt $ $Date: 2005/09/08 03:24:05 $
 *
 *  The Contents of this file are made available subject to
 *  the terms of GNU Lesser General Public License Version 2.1.
 *
 *
 *    GNU Lesser General Public License Version 2.1
 *    =============================================
 *    Copyright 2005 by Sun Microsystems, Inc.
 *    901 San Antonio Road, Palo Alto, CA 94303, USA
 *
 *    This library is free software; you can redistribute it and/or
 *    modify it under the terms of the GNU Lesser General Public
 *    License version 2.1, as published by the Free Software Foundation.
 *
 *    This library 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 for more details.
 *
 *    You should have received a copy of the GNU Lesser General Public
 *    License along with this library; if not, write to the Free Software
 *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *    MA  02111-1307  USA
 *
 ************************************************************************/
#ifndef _SFX_CONTENV_HXX
#define _SFX_CONTENV_HXX


#ifndef _IPENV_HXX //autogen
#include <so3/ipenv.hxx>
#endif
class SvInPlaceClient;
class INetURLObject;
namespace binfilter {
//=========================================================================

class SvInPlaceMenuBar;
class SfxInPlaceClient;
class SfxViewFrame;

//=========================================================================

class SfxContainerEnv_Impl: public SvContainerEnvironment

/*	[Beschreibung]

	"Uber eine Instanz dieser internen Klasse selektiert ein In-Place-aktives
	Objekt seine Tools (z.B. Menu) in die SFx-Applikation, die Container
	ist.
*/

{
	SfxViewFrame*		pFrame;
	SvInPlaceMenuBar*	pMenuBar;

protected:
	virtual MenuBar* 	QueryMenu( USHORT *, USHORT *, USHORT * ){DBG_BF_ASSERT(0, "STRIP"); return NULL;} //STRIP001 virtual MenuBar* 	QueryMenu( USHORT *, USHORT *, USHORT * );
	virtual void    	SetInPlaceMenu( MenuBar * pIPMenu, BOOL bSet ){DBG_BF_ASSERT(0, "STRIP");} //STRIP001 virtual void    	SetInPlaceMenu( MenuBar * pIPMenu, BOOL bSet );
	virtual void    	MenuReleased(){DBG_BF_ASSERT(0, "STRIP");} //STRIP001 virtual void    	MenuReleased();
	virtual void    	RequestObjAreaPixel( const Rectangle & rObjRect ){DBG_BF_ASSERT(0, "STRIP");} //STRIP001 virtual void    	RequestObjAreaPixel( const Rectangle & rObjRect );
	virtual void        UIToolsShown( BOOL bShow ){DBG_BF_ASSERT(0, "STRIP");} //STRIP001 virtual void        UIToolsShown( BOOL bShow );
	virtual BOOL		SetTopToolSpacePixel( const SvBorder& ){DBG_BF_ASSERT(0, "STRIP"); return FALSE;} //STRIP001 virtual BOOL		SetTopToolSpacePixel( const SvBorder& );

public:
						SfxContainerEnv_Impl( SfxInPlaceClient *pClient,
									SfxViewFrame* pViewFrame,
									WorkWindow* pTopWin,
									Window* pEditWin );
	virtual 			~SfxContainerEnv_Impl();

	virtual BOOL    	SetStatusText( const String & rText ){DBG_BF_ASSERT(0, "STRIP"); return FALSE;} //STRIP001 virtual BOOL    	SetStatusText( const String & rText );
	virtual void 		ShowDocument( const INetURLObject &,
									const XubString & ){DBG_BF_ASSERT(0, "STRIP");} //STRIP001 const XubString & );
	virtual BOOL 		DispatchAccel( const KeyCode & ){DBG_BF_ASSERT(0, "STRIP"); return FALSE;} //STRIP001 virtual BOOL 		DispatchAccel( const KeyCode & );
};



}//end of namespace binfilter
#endif
