// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'DLines.pas' rev: 6.00

#ifndef DLinesHPP
#define DLinesHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <RVTypes.hpp>	// Pascal unit
#include <RVStyle.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Dlines
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TRVDrawLineInfo;
class PASCALIMPLEMENTATION TRVDrawLineInfo : public System::TObject 
{
	typedef System::TObject inherited;
	
public:
	int SpaceBefore;
	int Left;
	int Top;
	int Width;
	int Height;
	int ItemNo;
	int Offs;
	int Length;
	int ExtraSpaceBelow;
	int ExtraSpaceAbove;
	Byte FromNewLine;
	__fastcall TRVDrawLineInfo(int ALeft, int ATop, int AWidth, int AHeight, int AItemNo, Byte AFromNewLine);
	virtual void __fastcall SetData(int ALeft, int ATop, int AItemNo, Byte AFromNewLine);
	virtual void __fastcall SetSize(int AWidth, int AHeight);
	DYNAMIC bool __fastcall InitSplit(const Rvstyle::TRVScreenAndDevice &SaD);
	DYNAMIC bool __fastcall CanSplitFirst(int Y, const Rvstyle::TRVScreenAndDevice &SaD, bool FirstOnPage, bool PageHasFootnotes, bool FootnotesChangeHeight);
	DYNAMIC bool __fastcall SplitAt(int Y, const Rvstyle::TRVScreenAndDevice &SaD, bool FirstOnPage, Classes::TList* &FootnoteRVDataList, int &MaxHeight, bool FootnotesChangeHeight);
public:
	#pragma option push -w-inl
	/* TObject.Create */ inline __fastcall TRVDrawLineInfo(void) : System::TObject() { }
	#pragma option pop
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~TRVDrawLineInfo(void) { }
	#pragma option pop
	
};


typedef TMetaClass*TRVDrawLineInfoClass;

class DELPHICLASS TRVDrawLines;
class PASCALIMPLEMENTATION TRVDrawLines : public Classes::TList 
{
	typedef Classes::TList inherited;
	
public:
	TRVDrawLineInfo* operator[](int Index) { return Items[Index]; }
	
private:
	int FStartDeletedIndex;
	int FDeletedCount;
	HIDESBASE TRVDrawLineInfo* __fastcall Get(int Index);
	HIDESBASE void __fastcall Put(int Index, const TRVDrawLineInfo* Value);
	void __fastcall DeleteRange(int Index1, int Index2);
	
public:
	__fastcall TRVDrawLines(void);
	void __fastcall MarkForDelete(int Index1, int Index2);
	void __fastcall DeleteMarked(void);
	HIDESBASE void __fastcall Insert(int Index, void * Item);
	HIDESBASE void __fastcall Delete(int Index);
	AnsiString __fastcall GetString(int Index, Classes::TList* AItems);
	AnsiString __fastcall GetSubString(int Index, Classes::TList* AItems, int AStartIndex, int ALength);
	AnsiString __fastcall GetRightString(int Index, Classes::TList* AItems, int AStartIndex);
	__property TRVDrawLineInfo* Items[int Index] = {read=Get, write=Put/*, default*/};
public:
	#pragma option push -w-inl
	/* TList.Destroy */ inline __fastcall virtual ~TRVDrawLines(void) { }
	#pragma option pop
	
};


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

}	/* namespace Dlines */
using namespace Dlines;
#pragma option pop	// -w-
#pragma option pop	// -Vx

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