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

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

#ifndef PJControlHPP
#define PJControlHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Controls.hpp>	// Pascal unit
#include <PJBitmap.hpp>	// Pascal unit
#include <PSJob.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 Pjcontrol
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TCustomControlPrintJob;
class PASCALIMPLEMENTATION TCustomControlPrintJob : public Pjbitmap::TCustomBitmapPrintJob 
{
	typedef Pjbitmap::TCustomBitmapPrintJob inherited;
	
private:
	Controls::TControl* FControl;
	bool FEntireWindow;
	void __fastcall SetControl(const Controls::TControl* Value);
	void __fastcall SetEntireWindow(const bool Value);
	
protected:
	virtual void __fastcall Loaded(void);
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
		);
	__property Controls::TControl* Control = {read=FControl, write=SetControl};
	__property bool EntireWindow = {read=FEntireWindow, write=SetEntireWindow, nodefault};
	
public:
	virtual void __fastcall GetBitmap(const Graphics::TBitmap* Bitmap);
public:
	#pragma option push -w-inl
	/* TCustomBitmapPrintJob.Create */ inline __fastcall virtual TCustomControlPrintJob(Classes::TComponent* 
		AOwner) : Pjbitmap::TCustomBitmapPrintJob(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomBitmapPrintJob.Destroy */ inline __fastcall virtual ~TCustomControlPrintJob(void) { }
	#pragma option pop
	
};


class DELPHICLASS TControlPrintJob;
class PASCALIMPLEMENTATION TControlPrintJob : public TCustomControlPrintJob 
{
	typedef TCustomControlPrintJob inherited;
	
__published:
	__property Control ;
	__property EntireWindow ;
	__property StretchMode ;
	__property AlignVertical ;
	__property AlignHorizontal ;
	__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 OnDraw ;
	__property OnPrinterSetupChange ;
	__property OnStartPrint ;
	__property OnEndPrint ;
	__property OnPrintProgress ;
	__property OnStartPrintPage ;
	__property OnEndPrintPage ;
	__property OnUpdate ;
public:
	#pragma option push -w-inl
	/* TCustomBitmapPrintJob.Create */ inline __fastcall virtual TControlPrintJob(Classes::TComponent* 
		AOwner) : TCustomControlPrintJob(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomBitmapPrintJob.Destroy */ inline __fastcall virtual ~TControlPrintJob(void) { }
	#pragma option pop
	
};


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

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

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