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

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

#ifndef PJStringGridHPP
#define PJStringGridHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Grids.hpp>	// Pascal unit
#include <PJTextGrid.hpp>	// Pascal unit
#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 Pjstringgrid
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TCustomStringGridPrintJob;
class PASCALIMPLEMENTATION TCustomStringGridPrintJob : public Pjtextgrid::TSpecialTextGridPrintJob 
{
	typedef Pjtextgrid::TSpecialTextGridPrintJob inherited;
	
private:
	Grids::TStringGrid* FStringGrid;
	void __fastcall SetStringGrid(const Grids::TStringGrid* Value);
	
protected:
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
		);
	__property Grids::TStringGrid* StringGrid = {read=FStringGrid, write=SetStringGrid};
	
public:
	virtual void __fastcall Update(void);
	virtual int __fastcall GetColWidth(Graphics::TCanvas* TheCanvas, int ACol);
	virtual AnsiString __fastcall GetCellText(int APageIndex, int ACol, int ARow);
public:
	#pragma option push -w-inl
	/* TCustomTextGridPrintJob.Create */ inline __fastcall virtual TCustomStringGridPrintJob(Classes::TComponent* 
		AOwner) : Pjtextgrid::TSpecialTextGridPrintJob(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomTextGridPrintJob.Destroy */ inline __fastcall virtual ~TCustomStringGridPrintJob(void) { }
		
	#pragma option pop
	
};


class DELPHICLASS TStringGridPrintJob;
class PASCALIMPLEMENTATION TStringGridPrintJob : public TCustomStringGridPrintJob 
{
	typedef TCustomStringGridPrintJob inherited;
	
__published:
	__property StringGrid ;
	__property HeaderFont ;
	__property PageFont ;
	__property FooterFont ;
	__property ClipMode ;
	__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 OnPrinterSetupChange ;
	__property OnStartPrint ;
	__property OnEndPrint ;
	__property OnPrintProgress ;
	__property OnStartPrintPage ;
	__property OnEndPrintPage ;
	__property OnUpdate ;
public:
	#pragma option push -w-inl
	/* TCustomTextGridPrintJob.Create */ inline __fastcall virtual TStringGridPrintJob(Classes::TComponent* 
		AOwner) : TCustomStringGridPrintJob(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomTextGridPrintJob.Destroy */ inline __fastcall virtual ~TStringGridPrintJob(void) { }
	#pragma option pop
	
};


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

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

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