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

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

#ifndef RVRVDataHPP
#define RVRVDataHPP
#include <RVClasses.hpp>
#include <RVScroll.hpp>
#include <RVCtrlData.hpp>
#include <CRVFData.hpp>
#include <CRVData.hpp>
#include <RVStyle.hpp>
#include <RVBack.hpp>
#include <RVItem.hpp>
#include <Forms.hpp>
#include <Graphics.hpp>
#include <Controls.hpp>
#include <Classes.hpp>
#include <Windows.hpp>
#include <SysInit.hpp>
#include <System.hpp>

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

namespace Rvrvdata
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TRichViewRVData;
class PASCALIMPLEMENTATION TRichViewRVData : public Rvctrldata::TRVControlData 
{
	typedef Rvctrldata::TRVControlData inherited;
	
protected:
	Rvscroll::TRVScroller* FRichView;
	Rvclasses::TRVIntegerList* RVFTextStylesMapping;
	Rvclasses::TRVIntegerList* RVFParaStylesMapping;
	DYNAMIC Controls::TControl* __fastcall GetInplaceEditor(void);
	DYNAMIC void __fastcall DestroyInplaceEditor(void);
	DYNAMIC Classes::TPersistent* __fastcall GetRTFProperties(void);
	DYNAMIC void __fastcall InitStyleMappings(Crvdata::PRVIntegerList &PTextStylesMapping, Crvdata::PRVIntegerList 
		&PParaStylesMapping);
	DYNAMIC void __fastcall DoneStyleMappings(Crvdata::PRVIntegerList PTextStylesMapping, Crvdata::PRVIntegerList 
		PParaStylesMapping);
	
public:
	DYNAMIC System::AnsiString __fastcall GetExtraRTFCode(Rvstyle::TRVRTFSaveArea Area, System::TObject* 
		Obj, int Index1, int Index2, bool InStyleSheet);
	DYNAMIC Crvfdata::TCustomRVFormattedData* __fastcall GetChosenRVData(void);
	DYNAMIC Rvitem::TCustomRVItemInfo* __fastcall GetChosenItem(void);
	DYNAMIC void __fastcall AssignChosenRVData(Crvfdata::TCustomRVFormattedData* RVData, Rvitem::TCustomRVItemInfo* 
		Item);
	DYNAMIC void __fastcall SilentReplaceChosenRVData(Crvfdata::TCustomRVFormattedData* RVData);
	DYNAMIC void __fastcall UnassignChosenRVData(Crvfdata::TCustomRVFormattedData* RVData);
	virtual void __fastcall ClearTemporal(void);
	DYNAMIC Controls::TWinControl* __fastcall GetParentControl(void);
	virtual Rvscroll::TRVPaletteAction __fastcall GetDoInPaletteMode(void);
	virtual HPALETTE __fastcall GetRVPalette(void);
	virtual Rvstyle::TRVStyle* __fastcall GetRVStyle(void);
	virtual Windows::PLogPalette __fastcall GetRVLogPalette(void);
	DYNAMIC System::AnsiString __fastcall GetURL(int id);
	DYNAMIC void __fastcall ReadHyperlink(const System::AnsiString Target, const System::AnsiString Extras
		, Rvscroll::TRVLoadFormat DocFormat, int &StyleNo, int &ItemTag, System::AnsiString &ItemName);
	virtual Rvscroll::TRVOptions __fastcall GetOptions(void);
	virtual void __fastcall SetOptions(const Rvscroll::TRVOptions Value);
	virtual Rvstyle::TRVFOptions __fastcall GetRVFOptions(void);
	virtual void __fastcall SetRVFOptions(const Rvstyle::TRVFOptions Value);
	virtual Rvstyle::TRVFWarnings __fastcall GetRVFWarnings(void);
	virtual void __fastcall SetRVFWarnings(const Rvstyle::TRVFWarnings Value);
	virtual Rvstyle::TRVRTFOptions __fastcall GetRTFOptions(void);
	virtual void __fastcall SetRTFOptions(const Rvstyle::TRVRTFOptions Value);
	virtual int __fastcall GetAreaWidth(void);
	virtual int __fastcall GetMinTextWidth(void);
	virtual int __fastcall GetMaxTextWidth(void);
	virtual int __fastcall GetLeftMargin(void);
	virtual int __fastcall GetRightMargin(void);
	virtual int __fastcall GetTopMargin(void);
	virtual int __fastcall GetBottomMargin(void);
	virtual Crvfdata::TRVFlags __fastcall GetFlags(void);
	virtual void __fastcall SetFlags(const Crvfdata::TRVFlags Value);
	virtual void __fastcall AdjustVScrollUnits(void);
	virtual void __fastcall SetDocumentAreaSize(int Width, int Height, bool UpdateH);
	virtual void __fastcall ScrollTo(int Y, bool Redraw);
	virtual void __fastcall HScrollTo(int X);
	virtual int __fastcall GetVSmallStep(void);
	virtual Rvback::TRVBackground* __fastcall GetBackground(void);
	DYNAMIC bool __fastcall IsAssignedCopy(void);
	DYNAMIC bool __fastcall IsAssignedRVMouseDown(void);
	DYNAMIC bool __fastcall IsAssignedRVMouseUp(void);
	DYNAMIC bool __fastcall IsAssignedRVRightClick(void);
	DYNAMIC bool __fastcall IsAssignedJump(void);
	DYNAMIC bool __fastcall IsAssignedRVDblClick(void);
	DYNAMIC bool __fastcall IsAssignedCheckpointVisible(void);
	DYNAMIC void __fastcall DoCopy(void);
	DYNAMIC void __fastcall DoRVMouseMove(int id);
	DYNAMIC void __fastcall DoRVMouseDown(Controls::TMouseButton Button, Classes::TShiftState Shift, int 
		ItemNo, int X, int Y);
	DYNAMIC void __fastcall DoRVMouseUp(Controls::TMouseButton Button, Classes::TShiftState Shift, int 
		ItemNo, int X, int Y);
	DYNAMIC void __fastcall DoRVRightClick(const System::AnsiString ClickedWord, int StyleNo, int X, int 
		Y);
	DYNAMIC void __fastcall DoRVDblClick(const System::AnsiString ClickedWord, int StyleNo);
	DYNAMIC void __fastcall DoCheckpointVisible(Rvstyle::TCheckpointData CheckpointData);
	DYNAMIC void __fastcall DoJump(int id);
	DYNAMIC void __fastcall DoSelect(void);
	DYNAMIC Controls::TCursor __fastcall GetNormalCursor(void);
	DYNAMIC Rvscroll::TCPEventKind __fastcall GetCPEventKind(void);
	DYNAMIC void __fastcall HTMLSaveImage(Crvdata::TCustomRVData* RVData, int ItemNo, const System::AnsiString 
		Path, Graphics::TColor BackgroundColor, System::AnsiString &Location, bool &DoDefault);
	__fastcall virtual TRichViewRVData(Rvscroll::TRVScroller* RichView);
	virtual int __fastcall GetHOffs(void);
	virtual int __fastcall GetVOffs(void);
	virtual Graphics::TCanvas* __fastcall GetCanvas(void);
	virtual int __fastcall GetWidth(void);
	virtual int __fastcall GetHeight(void);
	virtual Graphics::TColor __fastcall GetColor(void);
	virtual System::AnsiString __fastcall SaveComponentToFile(const System::AnsiString Path, Classes::TComponent* 
		SaveMe, Rvscroll::TRVSaveFormat SaveFormat);
	DYNAMIC Graphics::TGraphic* __fastcall RVFPictureNeeded(const System::AnsiString ItemName, int ItemTag
		);
	DYNAMIC Controls::TControl* __fastcall RVFControlNeeded(const System::AnsiString ItemName, int ItemTag
		);
	DYNAMIC Controls::TImageList* __fastcall RVFImageListNeeded(int ImageListTag);
	DYNAMIC System::AnsiString __fastcall GetDelimiters(void);
	virtual Rvstyle::TRVFReaderStyleMode __fastcall GetRVFTextStylesReadMode(void);
	virtual Rvstyle::TRVFReaderStyleMode __fastcall GetRVFParaStylesReadMode(void);
	virtual Rvstyle::TRVBiDiMode __fastcall GetBiDiMode(void);
	DYNAMIC void __fastcall ControlAction2(Rvstyle::TRVControlAction ControlAction, int ItemNo, Controls::TControl* 
		Control);
	__property Rvscroll::TRVScroller* RichView = {read=FRichView};
public:
	/* TCustomRVFormattedData.Destroy */ __fastcall virtual ~TRichViewRVData(void) { }
	
};

typedef System::TMetaClass*TRichViewRVDataClass;

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

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