// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Plancheck.pas' rev: 10.00

#ifndef PlancheckHPP
#define PlancheckHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit

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

namespace Plancheck
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TPlannerCheck;
class PASCALIMPLEMENTATION TPlannerCheck : public Classes::TComponent 
{
	typedef Classes::TComponent inherited;
	
private:
	bool FGotoItem;
	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(AnsiString s);
	virtual AnsiString __fastcall Correct(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 GotoItem = {read=FGotoItem, write=FGotoItem, 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 TPlannerCheck(Classes::TComponent* AOwner) : Classes::TComponent(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TComponent.Destroy */ inline __fastcall virtual ~TPlannerCheck(void) { }
	#pragma option pop
	
};


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


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

}	/* namespace Plancheck */
using namespace Plancheck;
#pragma pack(pop)
#pragma option pop

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