// CodeGear C++Builder
// Copyright (c) 1995, 2014 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'XLSAutofilter5.pas' rev: 28.00 (Windows)

#ifndef Xlsautofilter5HPP
#define Xlsautofilter5HPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.Classes.hpp>	// Pascal unit
#include <System.SysUtils.hpp>	// Pascal unit
#include <System.Contnrs.hpp>	// Pascal unit
#include <System.Math.hpp>	// Pascal unit
#include <Xc12Utils5.hpp>	// Pascal unit
#include <Xc12DataAutofilter5.hpp>	// Pascal unit
#include <Xc12DataWorkbook5.hpp>	// Pascal unit
#include <Xc12DataWorksheet5.hpp>	// Pascal unit
#include <Xc12Manager5.hpp>	// Pascal unit
#include <XLSUtils5.hpp>	// Pascal unit
#include <XLSClassFactory5.hpp>	// Pascal unit
#include <XLSNames5.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Xlsautofilter5
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TXLSAutofilterColumn;
#pragma pack(push,4)
class PASCALIMPLEMENTATION TXLSAutofilterColumn : public Xc12dataautofilter5::TXc12FilterColumn
{
	typedef Xc12dataautofilter5::TXc12FilterColumn inherited;
	
protected:
	bool __fastcall TestCondition(double AVal1, double AVal2, Xc12dataautofilter5::TXc12FilterOperator AOp)/* overload */;
	bool __fastcall TestCondition(System::UnicodeString AVal1, System::UnicodeString AVal2, Xc12dataautofilter5::TXc12FilterOperator AOp)/* overload */;
	bool __fastcall TestCondition(bool AVal1, bool AVal2, Xc12dataautofilter5::TXc12FilterOperator AOp)/* overload */;
	
public:
	void __fastcall Add(double AValue, Xc12dataautofilter5::TXc12FilterOperator AOperator)/* overload */;
	void __fastcall Add(double AValue1, double AValue2, Xc12dataautofilter5::TXc12FilterOperator AOperator1, Xc12dataautofilter5::TXc12FilterOperator AOperator2)/* overload */;
	void __fastcall Add(System::UnicodeString AValue1, System::UnicodeString AValue2, Xc12dataautofilter5::TXc12FilterOperator AOperator1, Xc12dataautofilter5::TXc12FilterOperator AOperator2)/* overload */;
	void __fastcall Add(System::UnicodeString AValue, Xc12dataautofilter5::TXc12FilterOperator AOperator)/* overload */;
	bool __fastcall Apply(double AValue)/* overload */;
	bool __fastcall Apply(System::UnicodeString AValue)/* overload */;
	bool __fastcall Apply(bool AValue)/* overload */;
public:
	/* TXc12FilterColumn.Create */ inline __fastcall TXLSAutofilterColumn(void) : Xc12dataautofilter5::TXc12FilterColumn() { }
	/* TXc12FilterColumn.Destroy */ inline __fastcall virtual ~TXLSAutofilterColumn(void) { }
	
};

#pragma pack(pop)

class DELPHICLASS TXLSAutofilter;
#pragma pack(push,4)
class PASCALIMPLEMENTATION TXLSAutofilter : public Xc12dataautofilter5::TXc12AutoFilter
{
	typedef Xc12dataautofilter5::TXc12AutoFilter inherited;
	
protected:
	Xlsnames5::TXLSNames* FNames;
	Xc12dataworksheet5::TXc12DataWorksheet* FXc12Sheet;
	int __fastcall GetCol1(void);
	int __fastcall GetCol2(void);
	int __fastcall GetRow1(void);
	int __fastcall GetRow2(void);
	
public:
	__fastcall TXLSAutofilter(Xlsclassfactory5::TXLSClassFactory* AClassFactory, System::TObject* AClassOwner, Xlsnames5::TXLSNames* ANames);
	HIDESBASE void __fastcall Clear(void);
	bool __fastcall Assigned(void);
	bool __fastcall IsFiltered(void);
	void __fastcall Add(const int AC1, const int AR1, const int AC2, const int AR2);
	void __fastcall Move(int Col1, int Row1, int Col2, int Row2, int DeltaCol, int DeltaRow);
	__property int Col1 = {read=GetCol1, nodefault};
	__property int Row1 = {read=GetRow1, nodefault};
	__property int Col2 = {read=GetCol2, nodefault};
	__property int Row2 = {read=GetRow2, nodefault};
public:
	/* TXc12AutoFilter.Destroy */ inline __fastcall virtual ~TXLSAutofilter(void) { }
	
};

#pragma pack(pop)

//-- var, const, procedure ---------------------------------------------------
}	/* namespace Xlsautofilter5 */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_XLSAUTOFILTER5)
using namespace Xlsautofilter5;
#endif
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Xlsautofilter5HPP
