//----------------------------------------------------------------------------
// RVReport.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: RVReport.pas
//----------------------------------------------------------------------------
#ifndef RVReportHPP
#define RVReportHPP
//----------------------------------------------------------------------------
#include <RVRTFProps.hpp>
#include <RVStyle.hpp>
#include <RVScroll.hpp>
#include <Controls.hpp>
#include <RVCtrlData.hpp>
#include <CRVData.hpp>
#include <PtblRV.hpp>
#include <PtRVData.hpp>
#include <RichView.hpp>
#include <RVRVData.hpp>
#include <CRVFData.hpp>
#include <Classes.hpp>
#include <Graphics.hpp>
#include <Windows.hpp>
#include <System.hpp>
namespace Rvreport
{
//-- type declarations -------------------------------------------------------
class __declspec(delphiclass) TReportRVData;
class __declspec(pascalimplementation) TReportRVData : public Ptrvdata::TCustomMainPtblRVData
{
	typedef Ptrvdata::TCustomMainPtblRVData inherited;
	
private:
	int StartY;
	int StartAt;
	int Y;
	int DrawItemNo;
	int CurHeight;
	int StoredStartY;
	int StoredStartAt;
	int StoredY;
	int StoredDrawItemNo;
	bool Splitting;
	bool StoredSplitting;
	void __fastcall Init(Graphics::TCanvas* ACanvas, int APageWidth);
	HIDESBASE bool __fastcall FormatNextPage(int AMaxHeight);
	void __fastcall UnformatLastPage(void);
	bool __fastcall Finished(void);
	void __fastcall Reset(void);
	
protected:
	virtual bool __fastcall ShareItems(void);
	
public:
	virtual int __fastcall GetHeight(void);
public:
	/* TCustomMainPtblRVData.Create */ __fastcall virtual TReportRVData(Rvscroll::TRVScroller* RichView
		) : Ptrvdata::TCustomMainPtblRVData(RichView) { }
	/* TCustomMainPtblRVData.Destroy */ __fastcall virtual ~TReportRVData(void) { }
	
};

class __declspec(delphiclass) TReportRichView;
class __declspec(pascalimplementation) TReportRichView : public Ptblrv::TCustomPrintableRV
{
	typedef Ptblrv::TCustomPrintableRV inherited;
	
private:
	int __fastcall GetHeight(void);
	int __fastcall GetWidth(void);
	int __fastcall GetLeft(void);
	int __fastcall GetTop(void);
	
protected:
	virtual System::TMetaClass* __fastcall GetDataClass(void);
	
public:
	__fastcall virtual TReportRichView(Classes::TComponent* AOwner);
	
__published:
	__property Color ;
	__property BackgroundBitmap ;
	__property BackgroundStyle ;
	__property BiDiMode ;
	__property BottomMargin ;
	__property Delimiters ;
	__property LeftMargin ;
	__property Options ;
	__property RightMargin ;
	__property RTFOptions ;
	__property RTFReadProperties ;
	__property RVFOptions ;
	__property RVFParaStylesReadMode ;
	__property RVFTextStylesReadMode ;
	__property Style ;
	__property TopMargin ;
	__property OnControlAction ;
	__property OnHTMLSaveImage ;
	__property OnRVFImageListNeeded ;
	__property OnRVFControlNeeded ;
	__property OnRVFPictureNeeded ;
	__property OnSaveComponentToFile ;
	__property OnURLNeeded ;
	__property int Width = {read=GetWidth, nodefault};
	__property int Height = {read=GetHeight, nodefault};
	__property int Left = {read=GetLeft, nodefault};
	__property int Top = {read=GetTop, nodefault};
public:
	/* TCustomRichView.Destroy */ __fastcall virtual ~TReportRichView(void) { }
	
public:
	/* TWinControl.CreateParented */ __fastcall TReportRichView(HWND ParentWindow) : Ptblrv::TCustomPrintableRV(
		ParentWindow) { }
	
};

class __declspec(delphiclass) TRVReportHelper;
class __declspec(pascalimplementation) TRVReportHelper : public Ptblrv::TCustomRVPrint
{
	typedef Ptblrv::TCustomRVPrint inherited;
	
private:
	TReportRichView* __fastcall GetRichView(void);
	
protected:
	virtual Ptblrv::TCustomPrintableRV* __fastcall CreateRichView(void);
	
public:
	void __fastcall Init(Graphics::TCanvas* ACanvas, int APageWidth);
	bool __fastcall FormatNextPage(int AMaxHeight);
	void __fastcall UnformatLastPage(void);
	bool __fastcall Finished(void);
	void __fastcall DrawPage(int APageNo, Graphics::TCanvas* ACanvas, bool APreview, int AHeight);
	void __fastcall Reset(void);
	__property TReportRichView* RichView = {read=GetRichView, nodefault};
public:
	/* TCustomRVPrint.Create */ __fastcall virtual TRVReportHelper(Classes::TComponent* AOwner) : Ptblrv::
		TCustomRVPrint(AOwner) { }
	
public:
	/* TComponent.Destroy */ __fastcall virtual ~TRVReportHelper(void) { }
	
};

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

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