// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'asgcheck.pas' rev: 5.00

#ifndef asgcheckHPP
#define asgcheckHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <SysUtils.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Asgcheck
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAdvStringGridCheck;
class PASCALIMPLEMENTATION TAdvStringGridCheck : public Classes::TComponent 
{
	typedef Classes::TComponent inherited;
	
private:
	bool FGotoCell;
	bool FAutoCorrect;
	bool FAutoMarkError;
	bool FUseCorrect;
	bool FUseMarkError;
	
protected:
	AnsiString __fastcall HiLight(AnsiString s, AnsiString h, AnsiString tag, bool DoCase);
	AnsiString __fastcall ReplaceOnce(const AnsiString S, const AnsiString OldPattern, const AnsiString 
		NewPattern);
	
public:
	virtual AnsiString __fastcall MarkError(int ACol, int ARow, AnsiString s);
	virtual AnsiString __fastcall Correct(int ACol, int ARow, AnsiString s);
	virtual void __fastcall StartCheck(void);
	virtual void __fastcall StopCheck(void);
	
__published:
	__property bool AutoCorrect = {read=FAutoCorrect, write=FAutoCorrect, nodefault};
	__property bool AutoMarkError = {read=FAutoMarkError, write=FAutoMarkError, nodefault};
	__property bool GotoCell = {read=FGotoCell, write=FGotoCell, nodefault};
	__property bool UseCorrect = {read=FUseCorrect, write=FUseCorrect, nodefault};
	__property bool UseMarkError = {read=FUseMarkError, write=FUseMarkError, nodefault};
public:
	#pragma option push -w-inl
	/* TComponent.Create */ inline __fastcall virtual TAdvStringGridCheck(Classes::TComponent* AOwner) : 
		Classes::TComponent(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TComponent.Destroy */ inline __fastcall virtual ~TAdvStringGridCheck(void) { }
	#pragma option pop
	
};


class DELPHICLASS TCapitalCheck;
class PASCALIMPLEMENTATION TCapitalCheck : public TAdvStringGridCheck 
{
	typedef TAdvStringGridCheck inherited;
	
public:
	virtual AnsiString __fastcall Correct(int ACol, int ARow, AnsiString s);
public:
	#pragma option push -w-inl
	/* TComponent.Create */ inline __fastcall virtual TCapitalCheck(Classes::TComponent* AOwner) : TAdvStringGridCheck(
		AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TComponent.Destroy */ inline __fastcall virtual ~TCapitalCheck(void) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------

}	/* namespace Asgcheck */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Asgcheck;
#endif
#pragma option pop	// -w-
#pragma option pop	// -Vx

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