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

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

#ifndef RVPPHPP
#define RVPPHPP
#include <CRVPP.hpp>
#include <Printers.hpp>
#include <PtblRV.hpp>
#include <RVScroll.hpp>
#include <Forms.hpp>
#include <Controls.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <SysUtils.hpp>
#include <Messages.hpp>
#include <Windows.hpp>
#include <SysInit.hpp>
#include <System.hpp>

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

namespace Rvpp
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TRVPrintPreview;
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 int __fastcall GetPreview100PercentWidth(void);
	DYNAMIC int __fastcall GetPreview100PercentHeight(void);
	DYNAMIC int __fastcall GetPageCount(void);
	
__published:
	__property Ptblrv::TRVPrint* RVPrint = {read=FRVPrint, write=SetRVPrint};
public:
	/* TCustomRVPrintPreview.Create */ __fastcall virtual TRVPrintPreview(Classes::TComponent* AOwner) : 
		Crvpp::TCustomRVPrintPreview(AOwner) { }
	
public:
	/* TCustomControl.Destroy */ __fastcall virtual ~TRVPrintPreview(void) { }
	
public:
	/* TWinControl.CreateParented */ __fastcall TRVPrintPreview(HWND ParentWindow) : Crvpp::TCustomRVPrintPreview(
		ParentWindow) { }
	
};

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

}	/* namespace Rvpp */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Rvpp;
#endif
//-- end unit ----------------------------------------------------------------
#endif	// RVPP
