/*************************************************************************
 *
 *  OpenOffice.org - a multi-platform office productivity suite
 *
 *  $RCSfile: sc_select.cxx,v $
 *
 *  $Revision: 1.5 $
 *
 *  last change: $Author: rt $ $Date: 2006/10/27 17:14:22 $
 *
 *  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
 *
 ************************************************************************/

#ifdef PCH
#endif

#pragma hdrstop

// INCLUDE ---------------------------------------------------------------


#include "bf_sc.hrc"
#include "tabvwsh.hxx"
//#include "dataobj.hxx"
namespace binfilter {

extern USHORT nScFillModeMouseModifier;				// global.cxx

using namespace ::com::sun::star;

// STATIC DATA -----------------------------------------------------------

static Point aSwitchPos;				//! Member
static BOOL bDidSwitch = FALSE;

// -----------------------------------------------------------------------

//
//					View (Gridwin / Tastatur)
//

/*N*/ ScViewFunctionSet::ScViewFunctionSet( ScViewData* pNewViewData ) :
/*N*/ 		pViewData( pNewViewData ),
/*N*/ 		pEngine( NULL ),
/*N*/ 		bAnchor( FALSE ),
/*N*/ 		bStarted( FALSE )
/*N*/ {
/*N*/ 	DBG_ASSERT(pViewData, "ViewData==0 bei FunctionSet");
/*N*/ }


/*N*/ void ScViewFunctionSet::SetSelectionEngine( ScViewSelectionEngine* pSelEngine )
/*N*/ {
/*N*/ 	pEngine = pSelEngine;
/*N*/ }

//		Drag & Drop


//		Selektion










//------------------------------------------------------------------------

/*N*/ ScViewSelectionEngine::ScViewSelectionEngine( Window* pWindow, ScTabView* pView,
/*N*/ 												ScSplitPos eSplitPos ) :
/*N*/ 		SelectionEngine( pWindow, pView->GetFunctionSet() ),
/*N*/ 		eWhich( eSplitPos )
/*N*/ {
/*N*/ 	//	Parameter einstellen
/*N*/ 	SetSelectionMode( MULTIPLE_SELECTION );
/*N*/ 	EnableDrag( TRUE );
/*N*/ }


//------------------------------------------------------------------------

//
//					Spalten- / Zeilenheader
//

/*N*/ ScHeaderFunctionSet::ScHeaderFunctionSet( ScViewData* pNewViewData ) :
/*N*/ 		pViewData( pNewViewData ),
/*N*/ 		bColumn( FALSE ),
/*N*/ 		eWhich( SC_SPLIT_TOPLEFT ),
/*N*/ 		bAnchor( FALSE ),
/*N*/ 		nCursorPos( 0 )
/*N*/ {
/*N*/ 	DBG_ASSERT(pViewData, "ViewData==0 bei FunctionSet");
/*N*/ }










//------------------------------------------------------------------------

/*N*/ ScHeaderSelectionEngine::ScHeaderSelectionEngine( Window* pWindow, ScHeaderFunctionSet* pFuncSet ) :
/*N*/ 		SelectionEngine( pWindow, pFuncSet )
/*N*/ {
/*N*/ 	//	Parameter einstellen
/*N*/ 	SetSelectionMode( MULTIPLE_SELECTION );
/*N*/ 	EnableDrag( FALSE );
/*N*/ }





}
