// CodeGear C++Builder
// Copyright (c) 1995, 2008 by CodeGear
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Rvsubdata.pas' rev: 20.00

#ifndef RvsubdataHPP
#define RvsubdataHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Rvitem.hpp>	// Pascal unit
#include <Rvstyle.hpp>	// Pascal unit
#include <Crvdata.hpp>	// Pascal unit
#include <Rvrtferr.hpp>	// Pascal unit
#include <Rvseqitem.hpp>	// Pascal unit
#include <Rvmarker.hpp>	// Pascal unit
#include <Rvundo.hpp>	// Pascal unit
#include <Rvtypes.hpp>	// Pascal unit

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

namespace Rvsubdata
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TRVSubData;
class PASCALIMPLEMENTATION TRVSubData : public Crvdata::TCustomRVData
{
	typedef Crvdata::TCustomRVData inherited;
	
private:
	Crvdata::TRVFlags FFlags;
	Rvitem::TCustomRVItemInfo* FOwner;
	
protected:
	Rvseqitem::TRVSeqList* FSeqList;
	Rvmarker::TRVMarkerList* FMarkers;
	DYNAMIC void __fastcall DestroyMarkers(void);
	DYNAMIC void __fastcall DestroySeqList(void);
	DYNAMIC System::UnicodeString __fastcall GetURL(int id);
	virtual Crvdata::TRVFlags __fastcall GetFlags(void);
	virtual void __fastcall SetFlags(const Crvdata::TRVFlags Value);
	
public:
	Crvdata::TCustomRVData* MainRVData;
	__fastcall TRVSubData(Rvitem::TCustomRVItemInfo* AOwner, Crvdata::TCustomRVData* AMainRVData);
	DYNAMIC void __fastcall ControlAction2(Crvdata::TCustomRVData* RVData, Rvstyle::TRVControlAction ControlAction, int ItemNo, Controls::TControl* &Control);
	virtual Crvdata::TCustomRVData* __fastcall GetParentData(void);
	virtual Crvdata::TCustomRVData* __fastcall GetRootData(void);
	virtual Crvdata::TCustomRVData* __fastcall GetAbsoluteParentData(void);
	virtual Crvdata::TCustomRVData* __fastcall GetAbsoluteRootData(void);
	void __fastcall MovingToUndoList(Rvundo::TRVUndoInfo* AContainerUndoItem);
	void __fastcall MovingFromUndoList(void);
	DYNAMIC Rvseqitem::TRVSeqList* __fastcall GetSeqList(bool AllowCreate);
	DYNAMIC Rvmarker::TRVMarkerList* __fastcall GetMarkers(bool AllowCreate);
	HIDESBASE bool __fastcall LoadRTFFromStream(Classes::TStream* Stream);
	HIDESBASE bool __fastcall LoadRTF(const System::UnicodeString FileName);
	HIDESBASE bool __fastcall SaveRTFToStream(Classes::TStream* Stream, const System::UnicodeString Path);
	HIDESBASE bool __fastcall SaveRTF(const System::UnicodeString FileName);
	HIDESBASE bool __fastcall LoadRVFFromStream(Classes::TStream* Stream);
	HIDESBASE bool __fastcall LoadRVF(const System::UnicodeString FileName);
	HIDESBASE bool __fastcall SaveRVFToStream(Classes::TStream* Stream);
	HIDESBASE bool __fastcall SaveRVF(const System::UnicodeString FileName);
	HIDESBASE bool __fastcall AppendRVFFromStream(Classes::TStream* Stream, int ParaNo);
	DYNAMIC void __fastcall DoneStyleMappings(Crvdata::PRVIntegerList PTextStylesMapping, Crvdata::PRVIntegerList PParaStylesMapping, Crvdata::PRVIntegerList PListStylesMapping, bool AsSubDoc);
	__property Rvitem::TCustomRVItemInfo* Owner = {read=FOwner};
public:
	/* TCustomRVData.Destroy */ inline __fastcall virtual ~TRVSubData(void) { }
	
};


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

}	/* namespace Rvsubdata */
using namespace Rvsubdata;
#pragma pack(pop)
#pragma option pop

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