// Borland C++ Builder // Copyright (c) 1995, 2005 by Borland Software Corporation // All rights reserved // (DO NOT EDIT: machine generated header) 'Rvlinear.pas' rev: 10.00 #ifndef RvlinearHPP #define RvlinearHPP #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 // Pascal unit #include // Pascal unit #include // Pascal unit #include // Pascal unit #include // Pascal unit #include // Pascal unit #include // Pascal unit #include // Pascal unit #include // Pascal unit #include // Pascal unit //-- user supplied ----------------------------------------------------------- namespace Rvlinear { //-- type declarations ------------------------------------------------------- struct TRVSelection { public: int SelStart; int SelLength; bool MultiCell; int StartRow; int StartCol; int RowOffs; int ColOffs; } ; //-- var, const, procedure --------------------------------------------------- extern PACKAGE int RVCharsPerLineBreak; extern PACKAGE char RVNonTextCharacter; extern PACKAGE bool __fastcall RichViewToLinear(Richview::TCustomRichView* rv, Crvdata::TCustomRVData* CurRVData, Crvdata::TCustomRVData* RVData, int ItemNo, int ItemOffs, int &LinearPos); extern PACKAGE bool __fastcall LinearToRichView(Richview::TCustomRichView* rv, Crvdata::TCustomRVData* CurRVData, int &LinearPos, Crvdata::TCustomRVData* &RVData, int &ItemNo, int &ItemOffs); extern PACKAGE int __fastcall RVGetLinearCaretPos(Rvedit::TCustomRichViewEdit* rve); extern PACKAGE void __fastcall RVSetLinearCaretPos(Rvedit::TCustomRichViewEdit* rve, int LinearPos); extern PACKAGE void __fastcall RVGetSelection(Richview::TCustomRichView* rv, int &SelStart, int &SelLength); extern PACKAGE void __fastcall RVSetSelection(Richview::TCustomRichView* rv, int SelStart, int SelLength); extern PACKAGE void __fastcall RVGetSelectionEx(Richview::TCustomRichView* rv, TRVSelection &Selection); extern PACKAGE void __fastcall RVSetSelectionEx(Richview::TCustomRichView* rv, const TRVSelection &Selection); extern PACKAGE AnsiString __fastcall RVGetTextRange(Richview::TCustomRichView* rv, int RangeStart, int RangeLength); extern PACKAGE int __fastcall RVGetTextLength(Richview::TCustomRichView* rv); } /* namespace Rvlinear */ using namespace Rvlinear; #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // Rvlinear