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

// (DO NOT EDIT: machine generated header) 'RVPP.pas' rev: 4.00

#ifndef RVPPHPP
#define RVPPHPP

#pragma delphiheader begin
#pragma option push -w-
#include <CRVPP.hpp>	// Pascal unit
#include <Printers.hpp>	// Pascal unit
#include <PtblRV.hpp>	// Pascal unit
#include <RVScroll.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 Rvpp
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TRVPrintPreview;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TRVPrintPreview : public Crvpp::TCustomRVPrintPreview 
{
	typedef Crvpp::TCustomRVPrintPreview inherited;
	
private:
	Ptblrv::TRVPrint* FRVPrint;
	void __fastcall SetRVPrint(const Ptblrv::TRVPrint* Value);
	
protected:
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation Operation
		);
	DYNAMIC bool __fastcall CanDrawContents(void);
	DYNAMIC void __fastcall DrawContents(Graphics::TCanvas* Canvas, const Windows::TRect &R);
	DYNAMIC void __fastcall DrawMargins(Graphics::TCanvas* Canvas, const Windows::TRect &R);
	DYNAMIC int __fastcall GetPreview100PercentWidth(void);
	DYNAMIC int __fastcall GetPreview100PercentHeight(void);
	DYNAMIC int __fastcall GetPageCount(void);
	virtual void __fastcall SetPageNo(const int Value);
	virtual void __fastcall Loaded(void);
	
__published:
	__property Ptblrv::TRVPrint* RVPrint = {read=FRVPrint, write=SetRVPrint};
public:
	#pragma option push -w-inl
	/* TCustomRVPrintPreview.Create */ inline __fastcall virtual TRVPrintPreview(Classes::TComponent* AOwner
		) : Crvpp::TCustomRVPrintPreview(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomRVPrintPreview.Destroy */ inline __fastcall virtual ~TRVPrintPreview(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TRVPrintPreview(HWND ParentWindow) : Crvpp::TCustomRVPrintPreview(
		ParentWindow) { }
	#pragma option pop
	
};

#pragma pack(pop)

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

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

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