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

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

#ifndef PJSimpleGridHPP
#define PJSimpleGridHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <PJGrid.hpp>	// Pascal unit
#include <PSJob.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Pjsimplegrid
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TCustomSimpleGridPrintJob;
class PASCALIMPLEMENTATION TCustomSimpleGridPrintJob : public Pjgrid::TCustomGridPrintJob 
{
	typedef Pjgrid::TCustomGridPrintJob inherited;
	
private:
	Pjgrid::TColWidthEvent FOnColWidth;
	Pjgrid::TDrawCellEvent FOnDrawCell;
	
protected:
	__property Pjgrid::TColWidthEvent OnColWidth = {read=FOnColWidth, write=FOnColWidth};
	__property Pjgrid::TDrawCellEvent OnDrawCell = {read=FOnDrawCell, write=FOnDrawCell};
	
public:
	virtual int __fastcall GetColWidth(Graphics::TCanvas* TheCanvas, int ACol);
	virtual void __fastcall DrawCell(Graphics::TCanvas* TheCanvas, const Windows::TRect &Rect, int APageIndex
		, int ACol, int ARow, Psjob::TDrawTarget Target);
public:
	#pragma option push -w-inl
	/* TCustomGridPrintJob.Create */ inline __fastcall virtual TCustomSimpleGridPrintJob(Classes::TComponent* 
		AOwner) : Pjgrid::TCustomGridPrintJob(AOwner) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TCustomPrintJob.Destroy */ inline __fastcall virtual ~TCustomSimpleGridPrintJob(void) { }
	#pragma option pop
	
};


class DELPHICLASS TSimpleGridPrintJob;
class PASCALIMPLEMENTATION TSimpleGridPrintJob : public TCustomSimpleGridPrintJob 
{
	typedef TCustomSimpleGridPrintJob inherited;
	
__published:
	__property OnColWidth ;
	__property OnDrawCell ;
	__property ColCount ;
	__property RowCount ;
	__property RowsPerPage ;
	__property TableBorders ;
	__property HeaderCellBorders ;
	__property PageCellBorders ;
	__property FooterCellBorders ;
	__property IndexColumn ;
	__property IndexStart ;
	__property Title ;
	__property Margins ;
	__property MarginsUnits ;
	__property Header ;
	__property HeaderUnits ;
	__property Footer ;
	__property FooterUnits ;
	__property PageMode ;
	__property PageWidth ;
	__property PageHeight ;
	__property PageUnits ;
	__property Orientation ;
	__property Options ;
	__property OnCreate ;
	__property OnDestroy ;
	__property OnInitDraw ;
	__property OnPrinterSetupChange ;
	__property OnStartPrint ;
	__property OnEndPrint ;
	__property OnPrintProgress ;
	__property OnStartPrintPage ;
	__property OnEndPrintPage ;
	__property OnUpdate ;
public:
	#pragma option push -w-inl
	/* TCustomGridPrintJob.Create */ inline __fastcall virtual TSimpleGridPrintJob(Classes::TComponent* 
		AOwner) : TCustomSimpleGridPrintJob(AOwner) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TCustomPrintJob.Destroy */ inline __fastcall virtual ~TSimpleGridPrintJob(void) { }
	#pragma option pop
	
};


//-- var, const, procedure ---------------------------------------------------
extern PACKAGE void __fastcall Register(void);

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

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