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

// (DO NOT EDIT: machine generated header) 'RVWordPaint.pas' rev: 6.00

#ifndef RVWordPaintHPP
#define RVWordPaintHPP

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

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

namespace Rvwordpaint
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TRVWordPainter;
class PASCALIMPLEMENTATION TRVWordPainter : public System::TObject 
{
	typedef System::TObject inherited;
	
public:
	int StartOffs;
	int Length;
	virtual void __fastcall Draw(Graphics::TCanvas* Canvas, Dlines::TRVDrawLineInfo* ditem, Classes::TPersistent* RVData, const Types::TRect &r, int Index) = 0 ;
	__fastcall TRVWordPainter(int AStartOffs, int ALength);
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TRVWordPainter(void) { }
	#pragma option pop
	
};


class DELPHICLASS TRVWordPainterList;
class PASCALIMPLEMENTATION TRVWordPainterList : public Rvclasses::TRVList 
{
	typedef Rvclasses::TRVList inherited;
	
public:
	TRVWordPainter* operator[](int Index) { return Items[Index]; }
	
private:
	HIDESBASE TRVWordPainter* __fastcall Get(int Index);
	HIDESBASE void __fastcall Put(int Index, const TRVWordPainter* Value);
	
public:
	__property TRVWordPainter* Items[int Index] = {read=Get, write=Put/*, default*/};
public:
	#pragma option push -w-inl
	/* TRVList.Destroy */ inline __fastcall virtual ~TRVWordPainterList(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TObject.Create */ inline __fastcall TRVWordPainterList(void) : Rvclasses::TRVList() { }
	#pragma option pop
	
};


class DELPHICLASS TRVWordMisspellPainter;
class PASCALIMPLEMENTATION TRVWordMisspellPainter : public TRVWordPainter 
{
	typedef TRVWordPainter inherited;
	
public:
	virtual void __fastcall Draw(Graphics::TCanvas* Canvas, Dlines::TRVDrawLineInfo* ditem, Classes::TPersistent* RVData, const Types::TRect &r, int Index);
public:
	#pragma option push -w-inl
	/* TRVWordPainter.Create */ inline __fastcall TRVWordMisspellPainter(int AStartOffs, int ALength) : TRVWordPainter(AStartOffs, ALength) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TRVWordMisspellPainter(void) { }
	#pragma option pop
	
};


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

}	/* namespace Rvwordpaint */
using namespace Rvwordpaint;
#pragma option pop	// -w-
#pragma option pop	// -Vx

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