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

// (DO NOT EDIT: machine generated header) 'Uxlsstrings.pas' rev: 10.00

#ifndef UxlsstringsHPP
#define UxlsstringsHPP

#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 <Xlsmessages.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Uxlsbaserecords.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)/* overload */;
	void __fastcall SaveToStream(const Classes::TStream* DataStream, const bool IncludeLen)/* overload */;
	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)/* overload */;
	void __fastcall CopyToPtr(const Xlsmessages::PArrayOfByte Ptr, const int aPos, const bool IncludeLen)/* overload */;
	__property WideString Value = {read=GetValue};
};


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

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

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