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

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

#ifndef RVPPHPP
#define RVPPHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Menus.hpp>	// Pascal unit
#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;
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);
	virtual void __fastcall DrawMargins(Graphics::TCanvas* Canvas, const Windows::TRect &R, int PageNo)
		;
	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};
	__property ZoomInCursor ;
	__property ZoomOutCursor ;
	__property OnZoomChanged ;
	__property MarginsPen ;
	__property Align ;
	__property Anchors ;
	__property Constraints ;
	__property Ctl3D ;
	__property DragMode ;
	__property Enabled ;
	__property HelpContext ;
	__property ParentCtl3D ;
	__property PopupMenu ;
	__property ShowHint ;
	__property TabOrder ;
	__property TabStop ;
	__property Visible ;
	__property OnClick ;
	__property OnContextPopup ;
	__property OnDragDrop ;
	__property OnDragOver ;
	__property OnEndDrag ;
	__property OnEnter ;
	__property OnExit ;
	__property OnKeyDown ;
	__property OnKeyPress ;
	__property OnKeyUp ;
	__property OnMouseWheel ;
	__property OnMouseWheelDown ;
	__property OnMouseWheelUp ;
	__property OnStartDrag ;
	__property BorderStyle ;
	__property WheelStep ;
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
	
};


//-- var, const, procedure ---------------------------------------------------

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

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