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

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

#ifndef XlsMessagesHPP
#define XlsMessagesHPP

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

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

namespace Xlsmessages
{
//-- type declarations -------------------------------------------------------
typedef Byte ArrayOfByte[1073741824];

typedef Byte *PArrayOfByte;

#pragma pack(push, 1)
struct TRecordHeader
{
	Word Id;
	Word Size;
} ;
#pragma pack(pop)

typedef TRecordHeader *PRecordHeader;

class DELPHICLASS EExcelException;
class PASCALIMPLEMENTATION EExcelException : public Sysutils::Exception 
{
	typedef Sysutils::Exception inherited;
	
public:
	#pragma option push -w-inl
	/* Exception.Create */ inline __fastcall EExcelException(const AnsiString Msg) : Sysutils::Exception(
		Msg) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateFmt */ inline __fastcall EExcelException(const AnsiString Msg, const System::TVarRec 
		* Args, const int Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateRes */ inline __fastcall EExcelException(int Ident)/* overload */ : Sysutils::Exception(
		Ident) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateResFmt */ inline __fastcall EExcelException(int Ident, const System::TVarRec * Args
		, const int Args_Size)/* overload */ : Sysutils::Exception(Ident, Args, Args_Size) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateHelp */ inline __fastcall EExcelException(const AnsiString Msg, int AHelpContext
		) : Sysutils::Exception(Msg, AHelpContext) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateFmtHelp */ inline __fastcall EExcelException(const AnsiString Msg, const System::TVarRec 
		* Args, const int Args_Size, int AHelpContext) : Sysutils::Exception(Msg, Args, Args_Size, AHelpContext
		) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateResHelp */ inline __fastcall EExcelException(int Ident, int AHelpContext)/* overload */
		 : Sysutils::Exception(Ident, AHelpContext) { }
	#pragma option pop
	#pragma option push -w-inl
	/* Exception.CreateResFmtHelp */ inline __fastcall EExcelException(System::PResStringRec ResStringRec
		, const System::TVarRec * Args, const int Args_Size, int AHelpContext)/* overload */ : Sysutils::Exception(
		ResStringRec, Args, Args_Size, AHelpContext) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TObject.Destroy */ inline __fastcall virtual ~EExcelException(void) { }
	#pragma option pop
	
};


typedef int __fastcall (__closure *TGetSheet)(const Word aSheetRef);

struct TSheetInfo
{
	int InsSheet;
	int FormulaSheet;
	TGetSheet GetSheet;
	TGetSheet SetSheet;
} ;

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE System::ResourceString _ErrFileIsNotXLS;
#define Xlsmessages_ErrFileIsNotXLS System::LoadResourceString(&Xlsmessages::_ErrFileIsNotXLS)
extern PACKAGE System::ResourceString _ErrCantReadFile;
#define Xlsmessages_ErrCantReadFile System::LoadResourceString(&Xlsmessages::_ErrCantReadFile)
extern PACKAGE System::ResourceString _ErrExcelInvalid;
#define Xlsmessages_ErrExcelInvalid System::LoadResourceString(&Xlsmessages::_ErrExcelInvalid)
extern PACKAGE System::ResourceString _ErrCantWriteOutput;
#define Xlsmessages_ErrCantWriteOutput System::LoadResourceString(&Xlsmessages::_ErrCantWriteOutput)
	
extern PACKAGE System::ResourceString _ErrCantWrite;
#define Xlsmessages_ErrCantWrite System::LoadResourceString(&Xlsmessages::_ErrCantWrite)
extern PACKAGE System::ResourceString _ErrFileNotFound;
#define Xlsmessages_ErrFileNotFound System::LoadResourceString(&Xlsmessages::_ErrFileNotFound)
extern PACKAGE System::ResourceString _ErrStreamNotFound;
#define Xlsmessages_ErrStreamNotFound System::LoadResourceString(&Xlsmessages::_ErrStreamNotFound)
extern PACKAGE System::ResourceString _ErrExtRefsNotSupported;
#define Xlsmessages_ErrExtRefsNotSupported System::LoadResourceString(&Xlsmessages::_ErrExtRefsNotSupported)
	
extern PACKAGE System::ResourceString _ErrWrongExcelRecord;
#define Xlsmessages_ErrWrongExcelRecord System::LoadResourceString(&Xlsmessages::_ErrWrongExcelRecord)
	
extern PACKAGE System::ResourceString _ErrBadToken;
#define Xlsmessages_ErrBadToken System::LoadResourceString(&Xlsmessages::_ErrBadToken)
extern PACKAGE System::ResourceString _ErrBadFormula;
#define Xlsmessages_ErrBadFormula System::LoadResourceString(&Xlsmessages::_ErrBadFormula)
extern PACKAGE System::ResourceString _ErrBadName;
#define Xlsmessages_ErrBadName System::LoadResourceString(&Xlsmessages::_ErrBadName)
extern PACKAGE System::ResourceString _ErrBadCF;
#define Xlsmessages_ErrBadCF System::LoadResourceString(&Xlsmessages::_ErrBadCF)
extern PACKAGE System::ResourceString _ErrBadChartFormula;
#define Xlsmessages_ErrBadChartFormula System::LoadResourceString(&Xlsmessages::_ErrBadChartFormula)
	
extern PACKAGE System::ResourceString _Err3DRef;
#define Xlsmessages_Err3DRef System::LoadResourceString(&Xlsmessages::_Err3DRef)
extern PACKAGE System::ResourceString _ErrReadingRecord;
#define Xlsmessages_ErrReadingRecord System::LoadResourceString(&Xlsmessages::_ErrReadingRecord)
extern PACKAGE System::ResourceString _ErrInvalidVersion;
#define Xlsmessages_ErrInvalidVersion System::LoadResourceString(&Xlsmessages::_ErrInvalidVersion)
extern PACKAGE System::ResourceString _ErrTooManyEntries;
#define Xlsmessages_ErrTooManyEntries System::LoadResourceString(&Xlsmessages::_ErrTooManyEntries)
extern PACKAGE System::ResourceString _ErrRecordNotSupported;
#define Xlsmessages_ErrRecordNotSupported System::LoadResourceString(&Xlsmessages::_ErrRecordNotSupported)
	
extern PACKAGE System::ResourceString _ErrSectionNotLoaded;
#define Xlsmessages_ErrSectionNotLoaded System::LoadResourceString(&Xlsmessages::_ErrSectionNotLoaded)
	
extern PACKAGE System::ResourceString _ErrInvalidContinue;
#define Xlsmessages_ErrInvalidContinue System::LoadResourceString(&Xlsmessages::_ErrInvalidContinue)
	
extern PACKAGE System::ResourceString _ErrStringTooLarge;
#define Xlsmessages_ErrStringTooLarge System::LoadResourceString(&Xlsmessages::_ErrStringTooLarge)
extern PACKAGE System::ResourceString _ErrInvalidDrawing;
#define Xlsmessages_ErrInvalidDrawing System::LoadResourceString(&Xlsmessages::_ErrInvalidDrawing)
extern PACKAGE System::ResourceString _ErrInvalidCF;
#define Xlsmessages_ErrInvalidCF System::LoadResourceString(&Xlsmessages::_ErrInvalidCF)
extern PACKAGE System::ResourceString _ErrDuplicatedSheetName;
#define Xlsmessages_ErrDuplicatedSheetName System::LoadResourceString(&Xlsmessages::_ErrDuplicatedSheetName)
	
extern PACKAGE System::ResourceString _ErrDupRow;
#define Xlsmessages_ErrDupRow System::LoadResourceString(&Xlsmessages::_ErrDupRow)
extern PACKAGE System::ResourceString _ErrRowMissing;
#define Xlsmessages_ErrRowMissing System::LoadResourceString(&Xlsmessages::_ErrRowMissing)
extern PACKAGE System::ResourceString _ErrBadCopyRows;
#define Xlsmessages_ErrBadCopyRows System::LoadResourceString(&Xlsmessages::_ErrBadCopyRows)
extern PACKAGE System::ResourceString _ErrInvalidSheetNo;
#define Xlsmessages_ErrInvalidSheetNo System::LoadResourceString(&Xlsmessages::_ErrInvalidSheetNo)
extern PACKAGE System::ResourceString _ErrBadRowCount;
#define Xlsmessages_ErrBadRowCount System::LoadResourceString(&Xlsmessages::_ErrBadRowCount)
extern PACKAGE System::ResourceString _ErrEscherNotLoaded;
#define Xlsmessages_ErrEscherNotLoaded System::LoadResourceString(&Xlsmessages::_ErrEscherNotLoaded)
	
extern PACKAGE System::ResourceString _ErrLoadingEscher;
#define Xlsmessages_ErrLoadingEscher System::LoadResourceString(&Xlsmessages::_ErrLoadingEscher)
extern PACKAGE System::ResourceString _ErrBStroreDuplicated;
#define Xlsmessages_ErrBStroreDuplicated System::LoadResourceString(&Xlsmessages::_ErrBStroreDuplicated)
	
extern PACKAGE System::ResourceString _ErrDgDuplicated;
#define Xlsmessages_ErrDgDuplicated System::LoadResourceString(&Xlsmessages::_ErrDgDuplicated)
extern PACKAGE System::ResourceString _ErrDggDuplicated;
#define Xlsmessages_ErrDggDuplicated System::LoadResourceString(&Xlsmessages::_ErrDggDuplicated)
extern PACKAGE System::ResourceString _ErrsolverDuplicated;
#define Xlsmessages_ErrsolverDuplicated System::LoadResourceString(&Xlsmessages::_ErrsolverDuplicated)
	
extern PACKAGE System::ResourceString _ErrChangingEscher;
#define Xlsmessages_ErrChangingEscher System::LoadResourceString(&Xlsmessages::_ErrChangingEscher)
extern PACKAGE System::ResourceString _ErrInternal;
#define Xlsmessages_ErrInternal System::LoadResourceString(&Xlsmessages::_ErrInternal)
extern PACKAGE System::ResourceString _ErrCantCopyPictFmla;
#define Xlsmessages_ErrCantCopyPictFmla System::LoadResourceString(&Xlsmessages::_ErrCantCopyPictFmla)
	
extern PACKAGE System::ResourceString _ErrInvalidErrStr;
#define Xlsmessages_ErrInvalidErrStr System::LoadResourceString(&Xlsmessages::_ErrInvalidErrStr)
extern PACKAGE System::ResourceString _ErrInvalidCellValue;
#define Xlsmessages_ErrInvalidCellValue System::LoadResourceString(&Xlsmessages::_ErrInvalidCellValue)
	
extern PACKAGE System::ResourceString _ErrCantWriteToFile;
#define Xlsmessages_ErrCantWriteToFile System::LoadResourceString(&Xlsmessages::_ErrCantWriteToFile)
	
extern PACKAGE System::ResourceString _ErrShrFmlaNotFound;
#define Xlsmessages_ErrShrFmlaNotFound System::LoadResourceString(&Xlsmessages::_ErrShrFmlaNotFound)
	
extern PACKAGE System::ResourceString _ErrInvalidStrLenLength;
#define Xlsmessages_ErrInvalidStrLenLength System::LoadResourceString(&Xlsmessages::_ErrInvalidStrLenLength)
	
extern PACKAGE System::ResourceString _ErrInvalidStringRecord;
#define Xlsmessages_ErrInvalidStringRecord System::LoadResourceString(&Xlsmessages::_ErrInvalidStringRecord)
	
extern PACKAGE System::ResourceString _ErrNotImplemented;
#define Xlsmessages_ErrNotImplemented System::LoadResourceString(&Xlsmessages::_ErrNotImplemented)
extern PACKAGE System::ResourceString _BaseSheetName;
#define Xlsmessages_BaseSheetName System::LoadResourceString(&Xlsmessages::_BaseSheetName)
extern PACKAGE System::ResourceString _ErrNoDataSet;
#define Xlsmessages_ErrNoDataSet System::LoadResourceString(&Xlsmessages::_ErrNoDataSet)
extern PACKAGE System::ResourceString _ErrReportNotFound;
#define Xlsmessages_ErrReportNotFound System::LoadResourceString(&Xlsmessages::_ErrReportNotFound)
extern PACKAGE System::ResourceString _ErrTooManyPageBreaks;
#define Xlsmessages_ErrTooManyPageBreaks System::LoadResourceString(&Xlsmessages::_ErrTooManyPageBreaks)
	
extern PACKAGE System::ResourceString _ErrInvalidRow;
#define Xlsmessages_ErrInvalidRow System::LoadResourceString(&Xlsmessages::_ErrInvalidRow)
extern PACKAGE System::ResourceString _ErrInvalidCol;
#define Xlsmessages_ErrInvalidCol System::LoadResourceString(&Xlsmessages::_ErrInvalidCol)
extern PACKAGE System::ResourceString _ErrXlsIndexOutBounds;
#define Xlsmessages_ErrXlsIndexOutBounds System::LoadResourceString(&Xlsmessages::_ErrXlsIndexOutBounds)
	
extern PACKAGE System::ResourceString _ErrFileIsPasswordProtected;
#define Xlsmessages_ErrFileIsPasswordProtected System::LoadResourceString(&Xlsmessages::_ErrFileIsPasswordProtected)
	
extern PACKAGE System::ResourceString _ErrNotAString;
#define Xlsmessages_ErrNotAString System::LoadResourceString(&Xlsmessages::_ErrNotAString)
extern PACKAGE System::ResourceString _ErrUnexpectedEof;
#define Xlsmessages_ErrUnexpectedEof System::LoadResourceString(&Xlsmessages::_ErrUnexpectedEof)
extern PACKAGE System::ResourceString _ErrUnexpectedChar;
#define Xlsmessages_ErrUnexpectedChar System::LoadResourceString(&Xlsmessages::_ErrUnexpectedChar)
extern PACKAGE System::ResourceString _ErrUnterminatedString;
#define Xlsmessages_ErrUnterminatedString System::LoadResourceString(&Xlsmessages::_ErrUnterminatedString)
	
extern PACKAGE System::ResourceString _ErrMissingParen;
#define Xlsmessages_ErrMissingParen System::LoadResourceString(&Xlsmessages::_ErrMissingParen)
extern PACKAGE System::ResourceString _ErrFormulaTooLong;
#define Xlsmessages_ErrFormulaTooLong System::LoadResourceString(&Xlsmessages::_ErrFormulaTooLong)
extern PACKAGE System::ResourceString _ErrUnexpectedId;
#define Xlsmessages_ErrUnexpectedId System::LoadResourceString(&Xlsmessages::_ErrUnexpectedId)
extern PACKAGE System::ResourceString _ErrFunctionNotFound;
#define Xlsmessages_ErrFunctionNotFound System::LoadResourceString(&Xlsmessages::_ErrFunctionNotFound)
	
extern PACKAGE System::ResourceString _ErrInvalidNumberOfParams;
#define Xlsmessages_ErrInvalidNumberOfParams System::LoadResourceString(&Xlsmessages::_ErrInvalidNumberOfParams)
	
extern PACKAGE System::ResourceString _ErrFormulaInvalid;
#define Xlsmessages_ErrFormulaInvalid System::LoadResourceString(&Xlsmessages::_ErrFormulaInvalid)
extern PACKAGE System::ResourceString _ErrFormulaStart;
#define Xlsmessages_ErrFormulaStart System::LoadResourceString(&Xlsmessages::_ErrFormulaStart)
extern PACKAGE System::ResourceString _ErrHiddenSheetSelected;
#define Xlsmessages_ErrHiddenSheetSelected System::LoadResourceString(&Xlsmessages::_ErrHiddenSheetSelected)
	
extern PACKAGE System::ResourceString _ErrNoSheetVisible;
#define Xlsmessages_ErrNoSheetVisible System::LoadResourceString(&Xlsmessages::_ErrNoSheetVisible)
extern PACKAGE System::ResourceString _ErrCantDeleteSheetWithMacros;
#define Xlsmessages_ErrCantDeleteSheetWithMacros System::LoadResourceString(&Xlsmessages::_ErrCantDeleteSheetWithMacros)
	
extern PACKAGE System::ResourceString _ErrInvalidSheet;
#define Xlsmessages_ErrInvalidSheet System::LoadResourceString(&Xlsmessages::_ErrInvalidSheet)
extern PACKAGE System::ResourceString _WorkbookStrS;
#define Xlsmessages_WorkbookStrS System::LoadResourceString(&Xlsmessages::_WorkbookStrS)
extern PACKAGE System::ResourceString _xlerr_Null;
#define Xlsmessages_xlerr_Null System::LoadResourceString(&Xlsmessages::_xlerr_Null)
extern PACKAGE System::ResourceString _xlerr_Div0;
#define Xlsmessages_xlerr_Div0 System::LoadResourceString(&Xlsmessages::_xlerr_Div0)
extern PACKAGE System::ResourceString _xlerr_Value;
#define Xlsmessages_xlerr_Value System::LoadResourceString(&Xlsmessages::_xlerr_Value)
extern PACKAGE System::ResourceString _xlerr_Ref;
#define Xlsmessages_xlerr_Ref System::LoadResourceString(&Xlsmessages::_xlerr_Ref)
extern PACKAGE System::ResourceString _xlerr_Name;
#define Xlsmessages_xlerr_Name System::LoadResourceString(&Xlsmessages::_xlerr_Name)
extern PACKAGE System::ResourceString _xlerr_Num;
#define Xlsmessages_xlerr_Num System::LoadResourceString(&Xlsmessages::_xlerr_Num)
extern PACKAGE System::ResourceString _xlerr_NA;
#define Xlsmessages_xlerr_NA System::LoadResourceString(&Xlsmessages::_xlerr_NA)
static const Shortint xlerrcode_Null = 0x0;
static const Shortint xlerrcode_Div0 = 0x7;
static const Shortint xlerrcode_Value = 0xf;
static const Shortint xlerrcode_Ref = 0x17;
static const Shortint xlerrcode_Name = 0x1d;
static const Shortint xlerrcode_Num = 0x24;
static const Shortint xlerrcode_NA = 0x2a;
static const Word MaxRecordDataSize = 0x201f;
static const Word MaxExternSheetDataSize = 0x201c;
static const Word MaxHPageBreaks = 0x401;
static const Word MaxVPageBreaks = 0x401;
static const Byte Max_Columns = 0xff;
static const Word Max_Rows = 0xffff;
static const Byte MaxSheets = 0xfa;
static const Word xlr_BofVersion = 0x600;
static const Shortint xlb_Globals = 0x5;
static const Shortint xlb_Worksheet = 0x10;
static const Shortint xlb_Chart = 0x20;
static const Shortint xlr_INTEGER = 0x2;
static const Shortint xlr_FORMULA = 0x6;
static const Shortint xlr_EOF = 0xa;
static const Shortint xlr_CALCCOUNT = 0xc;
static const Shortint xlr_CALCMODE = 0xd;
static const Shortint xlr_PRECISION = 0xe;
static const Shortint xlr_REFMODE = 0xf;
static const Shortint xlr_DELTA = 0x10;
static const Shortint xlr_ITERATION = 0x11;
static const Shortint xlr_PROTECT = 0x12;
static const Shortint xlr_PASSWORD = 0x13;
static const Shortint xlr_HEADER = 0x14;
static const Shortint xlr_FOOTER = 0x15;
static const Shortint xlr_EXTERNCOUNT = 0x16;
static const Shortint xlr_EXTERNSHEET = 0x17;
static const Shortint xlr_NAME = 0x18;
static const Shortint xlr_WINDOWPROTECT = 0x19;
static const Shortint xlr_VERTICALPAGEBREAKS = 0x1a;
static const Shortint xlr_HORIZONTALPAGEBREAKS = 0x1b;
static const Shortint xlr_NOTE = 0x1c;
static const Shortint xlr_SELECTION = 0x1d;
static const Shortint xlr_FORMATCOUNT = 0x1f;
static const Shortint xlr_COLUMNDEFAULT = 0x20;
static const Shortint xlr_1904 = 0x22;
static const Shortint xlr_COLWIDTH = 0x24;
static const Shortint xlr_LEFTMARGIN = 0x26;
static const Shortint xlr_RIGHTMARGIN = 0x27;
static const Shortint xlr_TOPMARGIN = 0x28;
static const Shortint xlr_BOTTOMMARGIN = 0x29;
static const Shortint xlr_PRINTHEADERS = 0x2a;
static const Shortint xlr_PRINTGRIDLINES = 0x2b;
static const Shortint xlr_FILEPASS = 0x2f;
static const Shortint xlr_PRINTSIZE = 0x33;
static const Shortint xlr_CONTINUE = 0x3c;
static const Shortint xlr_WINDOW1 = 0x3d;
static const Shortint xlr_BACKUP = 0x40;
static const Shortint xlr_PANE = 0x41;
static const Shortint xlr_CODEPAGE = 0x42;
static const Shortint xlr_IXFE = 0x44;
static const Shortint xlr_PLS = 0x4d;
static const Shortint xlr_DCON = 0x50;
static const Shortint xlr_DCONREF = 0x51;
static const Shortint xlr_DCONNAME = 0x53;
static const Shortint xlr_DEFCOLWIDTH = 0x55;
static const Shortint xlr_BUILTINFMTCNT = 0x56;
static const Shortint xlr_XCT = 0x59;
static const Shortint xlr_CRN = 0x5a;
static const Shortint xlr_FILESHARING = 0x5b;
static const Shortint xlr_WRITEACCESS = 0x5c;
static const Shortint xlr_OBJ = 0x5d;
static const Shortint xlr_UNCALCED = 0x5e;
static const Shortint xlr_SAFERECALC = 0x5f;
static const Shortint xlr_TEMPLATE = 0x60;
static const Shortint xlr_OBJPROTECT = 0x63;
static const Shortint xlr_COLINFO = 0x7d;
static const Shortint xlr_IMDATA = 0x7f;
static const Byte xlr_GUTS = 0x80;
static const Byte xlr_WSBOOL = 0x81;
static const Byte xlr_GRIDSET = 0x82;
static const Byte xlr_HCENTER = 0x83;
static const Byte xlr_VCENTER = 0x84;
static const Byte xlr_BOUNDSHEET = 0x85;
static const Byte xlr_WRITEPROT = 0x86;
static const Byte xlr_ADDIN = 0x87;
static const Byte xlr_EDG = 0x88;
static const Byte xlr_PUB = 0x89;
static const Byte xlr_COUNTRY = 0x8c;
static const Byte xlr_HIDEOBJ = 0x8d;
static const Byte xlr_BUNDLESOFFSET = 0x8e;
static const Byte xlr_BUNDLEHEADER = 0x8f;
static const Byte xlr_SORT = 0x90;
static const Byte xlr_SUB = 0x91;
static const Byte xlr_PALETTE = 0x92;
static const Byte xlr_LHRECORD = 0x94;
static const Byte xlr_LHNGRAPH = 0x95;
static const Byte xlr_SOUND = 0x96;
static const Byte xlr_LPR = 0x98;
static const Byte xlr_STANDARDWIDTH = 0x99;
static const Byte xlr_FNGROUPNAME = 0x9a;
static const Byte xlr_FILTERMODE = 0x9b;
static const Byte xlr_FNGROUPCOUNT = 0x9c;
static const Byte xlr_AUTOFILTERINFO = 0x9d;
static const Byte xlr_AUTOFILTER = 0x9e;
static const Byte xlr_SCL = 0xa0;
static const Byte xlr_SETUP = 0xa1;
static const Byte xlr_COORDLIST = 0xa9;
static const Byte xlr_GCW = 0xab;
static const Byte xlr_SCENMAN = 0xae;
static const Byte xlr_SCENARIO = 0xaf;
static const Byte xlr_SXVIEW = 0xb0;
static const Byte xlr_SXVD = 0xb1;
static const Byte xlr_SXVI = 0xb2;
static const Byte xlr_SXIVD = 0xb4;
static const Byte xlr_SXLI = 0xb5;
static const Byte xlr_SXPI = 0xb6;
static const Byte xlr_DOCROUTE = 0xb8;
static const Byte xlr_RECIPNAME = 0xb9;
static const Byte xlr_MULRK = 0xbd;
static const Byte xlr_MULBLANK = 0xbe;
static const Byte xlr_MMS = 0xc1;
static const Byte xlr_ADDMENU = 0xc2;
static const Byte xlr_DELMENU = 0xc3;
static const Byte xlr_SXDI = 0xc5;
static const Byte xlr_SXDB = 0xc6;
static const Byte xlr_SXFIELD = 0xc7;
static const Byte xlr_SXINDEXLIST = 0xc8;
static const Byte xlr_SXDOUBLE = 0xc9;
static const Byte xlr_SXSTRING = 0xcd;
static const Byte xlr_SXDATETIME = 0xce;
static const Byte xlr_SXTBL = 0xd0;
static const Byte xlr_SXTBRGITEM = 0xd1;
static const Byte xlr_SXTBPG = 0xd2;
static const Byte xlr_OBPROJ = 0xd3;
static const Byte xlr_SXIDSTM = 0xd5;
static const Byte xlr_RSTRING = 0xd6;
static const Byte xlr_DBCELL = 0xd7;
static const Byte xlr_BOOKBOOL = 0xda;
static const Byte xlr_SXEXTPARAMQRY = 0xdc;
static const Byte xlr_SCENPROTECT = 0xdd;
static const Byte xlr_OLESIZE = 0xde;
static const Byte xlr_UDDESC = 0xdf;
static const Byte xlr_INTERFACEHDR = 0xe1;
static const Byte xlr_INTERFACEEND = 0xe2;
static const Byte xlr_SXVS = 0xe3;
static const Byte xlr_CELLMERGING = 0xe5;
static const Byte xlr_BITMAP = 0xe9;
static const Byte xlr_MSODRAWINGGROUP = 0xeb;
static const Byte xlr_MSODRAWING = 0xec;
static const Byte xlr_MSODRAWINGSELECTION = 0xed;
static const Byte xlr_PHONETIC = 0xef;
static const Byte xlr_SXRULE = 0xf0;
static const Byte xlr_SXEX = 0xf1;
static const Byte xlr_SXFILT = 0xf2;
static const Byte xlr_SXNAME = 0xf6;
static const Byte xlr_SXSELECT = 0xf7;
static const Byte xlr_SXPAIR = 0xf8;
static const Byte xlr_SXFMLA = 0xf9;
static const Byte xlr_SXFORMAT = 0xfb;
static const Byte xlr_SST = 0xfc;
static const Byte xlr_LABELSST = 0xfd;
static const Byte xlr_EXTSST = 0xff;
static const Word xlr_SXVDEX = 0x100;
static const Word xlr_SXFORMULA = 0x103;
static const Word xlr_SXDBEX = 0x122;
static const Word xlr_CHTRINSERT = 0x137;
static const Word xlr_CHTRINFO = 0x138;
static const Word xlr_CHTRCELLCONTENT = 0x13b;
static const Word xlr_TABID = 0x13d;
static const Word xlr_CHTRMOVERANGE = 0x140;
static const Word xlr_CHTRINSERTTAB = 0x14d;
static const Word xlr_USESELFS = 0x160;
static const Word xlr_XL5MODIFY = 0x162;
static const Word xlr_CHTRHEADER = 0x196;
static const Word xlr_USERBVIEW = 0x1a9;
static const Word xlr_USERSVIEWBEGIN = 0x1aa;
static const Word xlr_USERSVIEWEND = 0x1ab;
static const Word xlr_QSI = 0x1ad;
static const Word xlr_SUPBOOK = 0x1ae;
static const Word xlr_PROT4REV = 0x1af;
static const Word xlr_DSF = 0x161;
static const Word xlr_CONDFMT = 0x1b0;
static const Word xlr_CF = 0x1b1;
static const Word xlr_DVAL = 0x1b2;
static const Word xlr_DCONBIN = 0x1b5;
static const Word xlr_TXO = 0x1b6;
static const Word xlr_REFRESHALL = 0x1b7;
static const Word xlr_HLINK = 0x1b8;
static const Word xlr_CODENAME = 0x1ba;
static const Word xlr_SXFDBTYPE = 0x1bb;
static const Word xlr_PROT4REVPASS = 0x1bc;
static const Word xlr_DV = 0x1be;
static const Word xlr_XL9FILE = 0x1c0;
static const Word xlr_RECALCID = 0x1c1;
static const Word xlr_DIMENSIONS = 0x200;
static const Word xlr_BLANK = 0x201;
static const Word xlr_NUMBER = 0x203;
static const Word xlr_LABEL = 0x204;
static const Word xlr_BOOLERR = 0x205;
static const Word xlr_STRING = 0x207;
static const Word xlr_ROW = 0x208;
static const Word xlr_INDEX = 0x20b;
static const Word xlr_ARRAY = 0x221;
static const Shortint xlr_EXTERNNAME = 0x23;
static const Word xlr_EXTERNNAME2 = 0x223;
static const Word xlr_DEFAULTROWHEIGHT = 0x225;
static const Shortint xlr_FONT = 0x31;
static const Word xlr_TABLE = 0x236;
static const Word xlr_WINDOW2 = 0x23e;
static const Word xlr_RK = 0x27e;
static const Word xlr_STYLE = 0x293;
static const Word xlr_FORMAT = 0x41e;
static const Byte xlr_XF = 0xe0;
static const Word xlr_SHRFMLA = 0x4bc;
static const Word xlr_SCREENTIP = 0x800;
static const Word xlr_WEBQRYSETTINGS = 0x803;
static const Word xlr_WEBQRYTABLES = 0x804;
static const Word xlr_BOF = 0x809;
static const Word xlr_UNITS = 0x1001;
static const Word xlr_ChartChart = 0x1002;
static const Word xlr_ChartSeries = 0x1003;
static const Word xlr_ChartDataformat = 0x1006;
static const Word xlr_ChartLineformat = 0x1007;
static const Word xlr_ChartMarkerformat = 0x1009;
static const Word xlr_ChartAreaformat = 0x100a;
static const Word xlr_ChartPieformat = 0x100b;
static const Word xlr_ChartAttachedlabel = 0x100c;
static const Word xlr_ChartSeriestext = 0x100d;
static const Word xlr_ChartChartformat = 0x1014;
static const Word xlr_ChartLegend = 0x1015;
static const Word xlr_ChartSerieslist = 0x1016;
static const Word xlr_ChartBar = 0x1017;
static const Word xlr_ChartLine = 0x1018;
static const Word xlr_ChartPie = 0x1019;
static const Word xlr_ChartArea = 0x101a;
static const Word xlr_ChartScatter = 0x101b;
static const Word xlr_ChartChartline = 0x101c;
static const Word xlr_ChartAxis = 0x101d;
static const Word xlr_ChartTick = 0x101e;
static const Word xlr_ChartValuerange = 0x101f;
static const Word xlr_ChartCatserrange = 0x1020;
static const Word xlr_ChartAxislineformat = 0x1021;
static const Word xlr_ChartFormatlink = 0x1022;
static const Word xlr_ChartDefaulttext = 0x1024;
static const Word xlr_ChartText = 0x1025;
static const Word xlr_ChartFontx = 0x1026;
static const Word xlr_ChartObjectLink = 0x1027;
static const Word xlr_ChartFrame = 0x1032;
static const Word xlr_BEGIN = 0x1033;
static const Word xlr_END = 0x1034;
static const Word xlr_ChartPlotarea = 0x1035;
static const Word xlr_Chart3D = 0x103a;
static const Word xlr_ChartPicf = 0x103c;
static const Word xlr_ChartDropbar = 0x103d;
static const Word xlr_ChartRadar = 0x103e;
static const Word xlr_ChartSurface = 0x103f;
static const Word xlr_ChartRadararea = 0x1040;
static const Word xlr_ChartAxisparent = 0x1041;
static const Word xlr_ChartLegendxn = 0x1043;
static const Word xlr_ChartShtprops = 0x1044;
static const Word xlr_ChartSertocrt = 0x1045;
static const Word xlr_ChartAxesused = 0x1046;
static const Word xlr_ChartSbaseref = 0x1048;
static const Word xlr_ChartSerparent = 0x104a;
static const Word xlr_ChartSerauxtrend = 0x104b;
static const Word xlr_ChartIfmt = 0x104e;
static const Word xlr_ChartPos = 0x104f;
static const Word xlr_ChartAlruns = 0x1050;
static const Word xlr_ChartAI = 0x1051;
static const Word xlr_ChartSerauxerrbar = 0x105b;
static const Word xlr_ChartClrClient = 0x105c;
static const Word xlr_ChartSerfmt = 0x105d;
static const Word xlr_Chart3DDataFormat = 0x105f;
static const Word xlr_ChartFbi = 0x1060;
static const Word xlr_ChartBoppop = 0x1061;
static const Word xlr_ChartAxcext = 0x1062;
static const Word xlr_ChartDat = 0x1063;
static const Word xlr_ChartPlotgrowth = 0x1064;
static const Word xlr_ChartSiindex = 0x1065;
static const Word xlr_ChartGelframe = 0x1066;
static const Word xlr_ChartBoppcustom = 0x1067;
static const Shortint tk_Table = 0x2;
#define tk_BinaryOps (System::Set<Byte, 0, 255> () << 0x3 << 0x4 << 0x5 << 0x6 << 0x7 << 0x8 << 0x9 \
	<< 0xa << 0xb << 0xc << 0xd << 0xe << 0xf << 0x10 << 0x11 )
#define tk_UnaryOps (System::Set<Byte, 0, 255> () << 0x12 << 0x13 << 0x14 << 0x15 )
static const Shortint tk_MissArg = 0x16;
static const Shortint tk_Str = 0x17;
static const Shortint tk_Attr = 0x19;
static const Shortint tk_Err = 0x1c;
static const Shortint tk_Bool = 0x1d;
static const Shortint tk_Int = 0x1e;
static const Shortint tk_Num = 0x1f;
static const Shortint tk_MemFunc = 0x29;
#define tk_Func (System::Set<Byte, 0, 255> () << 0x21 << 0x41 << 0x61 )
#define tk_FuncVar (System::Set<Byte, 0, 255> () << 0x22 << 0x42 << 0x62 )
#define tk_Array (System::Set<Byte, 0, 255> () << 0x20 << 0x40 << 0x60 )
#define tk_Name (System::Set<Byte, 0, 255> () << 0x23 << 0x43 << 0x63 )
#define tk_Ref (System::Set<Byte, 0, 255> () << 0x24 << 0x44 << 0x64 )
#define tk_Area (System::Set<Byte, 0, 255> () << 0x25 << 0x45 << 0x65 )
#define tk_RefErr (System::Set<Byte, 0, 255> () << 0x2a << 0x4a << 0x6a )
#define tk_AreaErr (System::Set<Byte, 0, 255> () << 0x2b << 0x4b << 0x6b )
#define tk_RefN (System::Set<Byte, 0, 255> () << 0x2c << 0x4c << 0x6c )
#define tk_AreaN (System::Set<Byte, 0, 255> () << 0x2d << 0x4d << 0x6d )
#define tk_NameX (System::Set<Byte, 0, 255> () << 0x39 << 0x59 << 0x79 )
#define tk_Ref3D (System::Set<Byte, 0, 255> () << 0x3a << 0x5a << 0x7a )
#define tk_Area3D (System::Set<Byte, 0, 255> () << 0x3b << 0x5b << 0x7b )
#define tk_Ref3DErr (System::Set<Byte, 0, 255> () << 0x3c << 0x5c << 0x7c )
#define tk_Area3DErr (System::Set<Byte, 0, 255> () << 0x3d << 0x5d << 0x7d )
static const Shortint tk_RefToRefErr = 0x6;
static const Shortint tk_AreaToAreaErr = 0x6;
static const Shortint tk_Ref3DToRef3DErr = 0x2;
static const Shortint tk_Area3DToArea3DErr = 0x2;
#define tk_Operand (System::Set<int, -2147483648, 2147483647> () )
static const Shortint ftEnd = 0x0;
static const Shortint ftMacro = 0x4;
static const Shortint ftButton = 0x5;
static const Shortint ftGmo = 0x6;
static const Shortint ftCf = 0x7;
static const Shortint ftPioGrbit = 0x8;
static const Shortint ftPictFmla = 0x9;
static const Shortint ftCbls = 0xa;
static const Shortint ftRbo = 0xb;
static const Shortint ftSbs = 0xc;
static const Shortint ftNts = 0xd;
static const Shortint ftSbsFmla = 0xe;
static const Shortint ftGboData = 0xf;
static const Shortint ftEdoData = 0x10;
static const Shortint ftRboData = 0x11;
static const Shortint ftCblsData = 0x12;
static const Shortint ftLbsData = 0x13;
static const Shortint ftCblsFmla = 0x14;
static const Shortint ftCmo = 0x15;
static const Shortint xlcmo_Group = 0x0;
static const Shortint xlcmo_Line = 0x1;
static const Shortint xlcmo_Rectangle = 0x2;
static const Shortint xlcmo_Oval = 0x3;
static const Shortint xlcmo_Arc = 0x4;
static const Shortint xlcmo_Chart = 0x5;
static const Shortint xlcmo_TextBox = 0x6;
static const Shortint xlcmo_Button = 0x7;
static const Shortint xlcmo_Picture = 0x8;
static const Shortint xlcmo_Polygon = 0x9;
static const Shortint xlcmo_CheckBox = 0xb;
static const Shortint xlcmo_Option = 0xc;
static const Shortint xlcmo_Edit = 0xd;
static const Shortint xlcmo_Label = 0xe;
static const Shortint xlcmo_Dialog = 0xf;
static const Shortint xlcmo_Spinner = 0x10;
static const Shortint xlcmo_Scroll = 0x11;
static const Shortint xlcmo_List = 0x12;
static const Shortint xlcmo_Group1 = 0x13;
static const Shortint xlcmo_Combo = 0x14;
static const Shortint xlcmo_Comment = 0x19;
static const Shortint xlcmo_MSDrawingx = 0x1e;
static const Word MsofbtDggContainer = 0xf000;
static const Word MsofbtDgg = 0xf006;
static const Word MsofbtCLSID = 0xf016;
static const Word MsofbtOPT = 0xf00b;
static const Word MsofbtColorMRU = 0xf11a;
static const Word MsofbtSplitMenuColors = 0xf11e;
static const Word MsofbtBstoreContainer = 0xf001;
static const Word MsofbtBSE = 0xf007;
static const Word MsofbtDgContainer = 0xf002;
static const Word MsofbtDg = 0xf008;
static const Word MsofbtRegroupItem = 0xf118;
static const Word MsofbtColorScheme = 0xf120;
static const Word MsofbtSpgrContainer = 0xf003;
static const Word MsofbtSpContainer = 0xf004;
static const Word MsofbtSpgr = 0xf009;
static const Word MsofbtSp = 0xf00a;
static const Word MsofbtTextbox = 0xf00c;
static const Word MsofbtClientTextbox = 0xf00d;
static const Word MsofbtAnchor = 0xf00e;
static const Word MsofbtChildAnchor = 0xf00f;
static const Word MsofbtClientAnchor = 0xf010;
static const Word MsofbtClientData = 0xf011;
static const Word MsofbtOleObject = 0xf11f;
static const Word MsofbtDeletedPspl = 0xf11d;
static const Word MsofbtSolverContainer = 0xf005;
static const Word MsofbtConnectorRule = 0xf012;
static const Word MsofbtAlignRule = 0xf013;
static const Word MsofbtArcRule = 0xf014;
static const Word MsofbtClientRule = 0xf015;
static const Word MsofbtCalloutRule = 0xf017;
static const Word MsofbtSelection = 0xf119;
static const Shortint msobiUNKNOWN = 0x0;
static const Word msobiWMF = 0x216;
static const Word msobiEMF = 0x3d4;
static const Word msobiPICT = 0x542;
static const Word msobiPNG = 0x6e0;
static const Word msobiJFIF = 0x46a;
static const Word msobiJPEG = 0x46a;
static const Word msobiDIB = 0x7a8;
static const Word msobiClient = 0x800;
static const Shortint msoblipERROR = 0x0;
static const Shortint msoblipUNKNOWN = 0x1;
static const Shortint msoblipEMF = 0x2;
static const Shortint msoblipWMF = 0x3;
static const Shortint msoblipPICT = 0x4;
static const Shortint msoblipJPEG = 0x5;
static const Shortint msoblipPNG = 0x6;
static const Shortint msoblipDIB = 0x7;
extern PACKAGE Byte XlsImgConv[6];
extern PACKAGE Word XlsBlipHeaderConv[6];
extern PACKAGE Word XlsBlipSignConv[6];
extern PACKAGE void __fastcall IncWord(const PArrayOfByte Pdata, const int tPos, const int Offset, const 
	int Max);
extern PACKAGE void __fastcall IncByte(const PArrayOfByte Pdata, const int tPos, const int Offset, const 
	int Max);
extern PACKAGE void __fastcall IncMax(Word &X, int N, int Max);
extern PACKAGE void __fastcall IncCardinal(const PArrayOfByte Pdata, const int tPos, const __int64 Offset
	);
extern PACKAGE void __fastcall IncMaxMin(Word &X, int N, int Max, int Min);
extern PACKAGE Word __fastcall GetWord(const PArrayOfByte Pdata, const int tPos);
extern PACKAGE unsigned __fastcall GetCardinal(const PArrayOfByte Pdata, const int tPos);
extern PACKAGE void __fastcall SetCardinal(const PArrayOfByte Pdata, const int tPos, const unsigned 
	number);
extern PACKAGE void __fastcall SetWord(const PArrayOfByte Pdata, const int tPos, const Word number);
	
extern PACKAGE __int64 __fastcall GetStrLen(const bool Length16Bit, const PArrayOfByte Pdata, const 
	int tPos, const bool UseExtStrLen, const unsigned ExtStrLen);
extern PACKAGE void __fastcall GetSimpleString(const bool Length16Bit, const PArrayOfByte Pdata, const 
	int tPos, const bool UseExtStrLen, const unsigned ExtStrLen, WideString &St, int &StSize);
extern PACKAGE bool __fastcall IsWide(const WideString W);
extern PACKAGE AnsiString __fastcall WideStringToStringNoCodePage(const WideString W);
extern PACKAGE void __fastcall CompressBestUnicode(const WideString w, const PArrayOfByte PData, const 
	int PDataPos);
extern PACKAGE WideString __fastcall StringToWideStringNoCodePage(const AnsiString s);

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

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