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

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

#ifndef PJDraftHPP
#define PJDraftHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Printers.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 Pjdraft
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TCustomDraftPrintJob;
class PASCALIMPLEMENTATION TCustomDraftPrintJob : public Psjob::TCustomPrintJob 
{
	typedef Psjob::TCustomPrintJob inherited;
	
private:
	Psjob::TCustomPrintJob* FPrintJob;
	int FScale;
	bool FSeparators;
	void __fastcall SetPrintJob(const Psjob::TCustomPrintJob* Value);
	void __fastcall SetScale(const int Value);
	void __fastcall SetSeparators(const bool Value);
	
protected:
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
		);
	__property Psjob::TCustomPrintJob* PrintJob = {read=FPrintJob, write=SetPrintJob};
	__property int Scale = {read=FScale, write=SetScale, nodefault};
	__property bool Separators = {read=FSeparators, write=SetSeparators, nodefault};
	
public:
	__fastcall virtual TCustomDraftPrintJob(Classes::TComponent* AOwner);
	virtual void __fastcall Update(void);
	virtual void __fastcall Draw(Graphics::TCanvas* TheCanvas, int PageIndex, Psjob::TDrawTarget Target
		);
	virtual void __fastcall DrawSeparator(Graphics::TCanvas* TheCanvas, const Windows::TPoint &FromPoint
		, const Windows::TPoint &ToPoint);
public:
	#pragma option push -w-inl
	/* TCustomPrintJob.Destroy */ inline __fastcall virtual ~TCustomDraftPrintJob(void) { }
	#pragma option pop
	
};


class DELPHICLASS TDraftPrintJob;
class PASCALIMPLEMENTATION TDraftPrintJob : public TCustomDraftPrintJob 
{
	typedef TCustomDraftPrintJob inherited;
	
__published:
	__property PrintJob ;
	__property Scale ;
	__property Separators ;
	__property Title ;
	__property OnCreate ;
	__property OnDestroy ;
	__property OnPrinterSetupChange ;
	__property OnStartPrint ;
	__property OnEndPrint ;
	__property OnPrintProgress ;
	__property OnStartPrintPage ;
	__property OnEndPrintPage ;
	__property OnUpdate ;
public:
	#pragma option push -w-inl
	/* TCustomDraftPrintJob.Create */ inline __fastcall virtual TDraftPrintJob(Classes::TComponent* AOwner
		) : TCustomDraftPrintJob(AOwner) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TCustomPrintJob.Destroy */ inline __fastcall virtual ~TDraftPrintJob(void) { }
	#pragma option pop
	
};


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

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

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