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

// (DO NOT EDIT: machine generated header) 'UXlsStrings.pas' rev: 5.00

#ifndef UXlsStringsHPP
#define UXlsStringsHPP

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

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

namespace Uxlsstrings
{
//-- type declarations -------------------------------------------------------
typedef Shortint TStrLenLength;

typedef Shortint TCharSize;

class DELPHICLASS TExcelString;
class PASCALIMPLEMENTATION TExcelString : public System::TObject 
{
	typedef System::TObject inherited;
	
private:
	TStrLenLength StrLenLength;
	
public:
	Word StrLen;
	Byte OptionFlags;
	WideString WideData;
	AnsiString ShortData;
	Word NumberRichTextFormats;
	Byte *RichTextFormats;
	unsigned FarEastDataSize;
	Byte *FarEastData;
	WideString __fastcall GetValue();
	__fastcall TExcelString(const TStrLenLength aStrLenLength, Uxlsbaserecords::TBaseRecord* &aRecord, 
		int &Ofs)/* overload */;
	__fastcall TExcelString(const TStrLenLength aStrLenLength, const WideString s, const bool ForceWide
		)/* overload */;
	__fastcall virtual ~TExcelString(void);
	void __fastcall SaveToStream(const Classes::TStream* DataStream);
	TCharSize __fastcall GetCharSize(void);
	bool __fastcall HasRichText(void);
	bool __fastcall HasFarInfo(void);
	int __fastcall Compare(const TExcelString* Str2);
	__int64 __fastcall TotalSize(void);
	void __fastcall CopyToPtr(const Xlsmessages::PArrayOfByte Ptr, const int aPos);
	__property WideString Value = {read=GetValue};
};


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

}	/* namespace Uxlsstrings */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Uxlsstrings;
#endif
#pragma option pop	// -w-
#pragma option pop	// -Vx

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