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

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

#ifndef RVFMiscHPP
#define RVFMiscHPP
#include <RVUni.hpp>
#include <RVStyle.hpp>
#include <Controls.hpp>
#include <Graphics.hpp>
#include <SysUtils.hpp>
#include <Classes.hpp>
#include <SysInit.hpp>
#include <System.hpp>

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

namespace Rvfmisc
{
//-- type declarations -------------------------------------------------------
//-- var, const, procedure ---------------------------------------------------
extern PACKAGE void __fastcall RVFWrite(Classes::TStream* Stream, const System::AnsiString s);
extern PACKAGE void __fastcall RVFWriteLine(Classes::TStream* Stream, System::AnsiString s);
extern PACKAGE void __fastcall RVFWriteLineX(Classes::TStream* Stream, const System::AnsiString s, bool 
	Unicode);
extern PACKAGE System::AnsiString __fastcall RVFStream2TextString(Classes::TMemoryStream* Stream);
extern PACKAGE bool __fastcall RVFTextString2Stream(System::AnsiString s, Classes::TMemoryStream* Stream
	);
extern PACKAGE bool __fastcall RVFLoadPicture(System::AnsiString s, Graphics::TGraphic* gr);
extern PACKAGE System::AnsiString __fastcall RVFSavePicture(Graphics::TGraphic* gr);
extern PACKAGE void __fastcall RVFLoadPictureBinary(const System::AnsiString Data, Graphics::TGraphic* 
	gr);
extern PACKAGE void __fastcall RVFSavePictureBinary(Classes::TStream* Stream, Graphics::TGraphic* gr
	);
extern PACKAGE bool __fastcall RVFLoadControl(const System::AnsiString s, Classes::TComponent* &ctrl
	, const System::AnsiString ClassName, Controls::TWinControl* ParentControl);
extern PACKAGE System::AnsiString __fastcall RVFSaveControl(Classes::TComponent* ctrl);
extern PACKAGE void __fastcall RVFLoadControlBinary(const System::AnsiString Data, Classes::TComponent* 
	&ctrl, const System::AnsiString ClassName, Controls::TWinControl* ParentControl);
extern PACKAGE void __fastcall RVFSaveControlBinary(Classes::TStream* Stream, Classes::TComponent* ctrl
	);
extern PACKAGE bool __fastcall RVFReadString(char * &P, System::AnsiString &s);
extern PACKAGE bool __fastcall RVFReadInteger(char * &P, int &V);
extern PACKAGE System::AnsiString __fastcall RVFReadText(char * &P);
extern PACKAGE bool __fastcall RVFReadTag(char * &P, bool TagsArePChars, int &Tag);
extern PACKAGE bool __fastcall RVFReadParaStyle(Rvstyle::TRVStyle* RVStyle, char * &P, int &V);
extern PACKAGE bool __fastcall RVFReadTextStyle(Rvstyle::TRVStyle* RVStyle, char * &P, int &V);
extern PACKAGE System::AnsiString __fastcall RVFSaveTag(bool TagsArePChars, int Tag);
extern PACKAGE System::AnsiString __fastcall RVFSaveText(Rvstyle::TRVStyle* RVStyle, bool UseStyleNames
	, int TextIdx);
extern PACKAGE System::AnsiString __fastcall RVFSavePara(Rvstyle::TRVStyle* RVStyle, bool UseStyleNames
	, int TextIdx);

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