/*************************************************************************
 *
 *  OpenOffice.org - a multi-platform office productivity suite
 *
 *  $RCSfile: sc_dbfunc3.cxx,v $
 *
 *  $Revision: 1.6 $
 *
 *  last change: $Author: rt $ $Date: 2006/10/27 17:08:38 $
 *
 *  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 "dbfunc.hxx"
#include "globstr.hrc"
#include "bf_sc.hrc"
#include "docsh.hxx"
#include "olinetab.hxx"
namespace binfilter {

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


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

//
//			Outliner
//

//	Outline-Gruppierung erzeugen


//	Outline-Gruppierung loeschen


//	Menue-Status: Outlines loeschen

/*N*/ void ScDBFunc::TestRemoveOutline( BOOL& rCol, BOOL& rRow )
/*N*/ {
/*N*/ 	BOOL bColFound = FALSE;
/*N*/ 	BOOL bRowFound = FALSE;
/*N*/ 
/*N*/ 	USHORT nStartCol, nStartRow, nStartTab;
/*N*/ 	USHORT nEndCol, nEndRow, nEndTab;
/*N*/ 	if (GetViewData()->GetSimpleArea(nStartCol,nStartRow,nStartTab,nEndCol,nEndRow,nEndTab))
/*N*/ 	{
/*N*/ 		USHORT nTab = nStartTab;
/*N*/ 		ScDocument* pDoc = GetViewData()->GetDocument();
/*N*/ 		ScOutlineTable* pTable = pDoc->GetOutlineTable( nTab );
/*N*/ 		if (pTable)
/*N*/ 		{
/*?*/ 			ScOutlineArray* pArray;
/*?*/ 			ScOutlineEntry* pEntry;
/*?*/ 			USHORT nStart;
/*?*/ 			USHORT nEnd;
/*?*/ 			BOOL bColMarked = ( nStartRow == 0 && nEndRow == MAXROW );
/*?*/ 			BOOL bRowMarked = ( nStartCol == 0 && nEndCol == MAXCOL );
/*?*/ 
/*?*/ 			//	Spalten
/*?*/ 
/*?*/ 			if ( !bRowMarked || bColMarked )		// nicht wenn ganze Zeilen markiert
/*?*/ 			{
/*?*/ 				DBG_BF_ASSERT(0, "STRIP"); //STRIP001 pArray = pTable->GetColArray();
/*?*/ 			}
/*?*/ 
/*?*/ 			//	Zeilen
/*?*/ 
/*?*/ 			if ( !bColMarked || bRowMarked )		// nicht wenn ganze Spalten markiert
/*?*/ 			{
/*?*/ 				DBG_BF_ASSERT(0, "STRIP"); //STRIP001 pArray = pTable->GetRowArray();
/*?*/ 			}
/*N*/ 		}
/*N*/ 	}
/*N*/ 
/*N*/ 	rCol = bColFound;
/*N*/ 	rRow = bRowFound;
/*N*/ }


//	Auto-Outlines


//	Outline-Ebene auswaehlen


//	einzelne Outline-Gruppe einblenden


//	einzelne Outline-Gruppe ausblenden


//	Menue-Status: markierten Bereich ein-/ausblenden


//	markierten Bereich einblenden


//	markierten Bereich ausblenden


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

//
//			Teilergebnisse
//


//
//			Consolidate
//


//
//			Pivot
//






//
//			DB-Operationen (Sortieren, Filtern, Teilergebnisse) wiederholen
//





}
