// CodeGear C++Builder
// Copyright (c) 1995, 2013 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'FMX.XlsMessages.pas' rev: 26.00 (Windows)

#ifndef Fmx_XlsmessagesHPP
#define Fmx_XlsmessagesHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.SysUtils.hpp>	// Pascal unit
#include <System.Variants.hpp>	// Pascal unit
#include <FMX.UFlxMessages.hpp>	// Pascal unit

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

namespace Fmx
{
namespace Xlsmessages
{
//-- type declarations -------------------------------------------------------
typedef System::StaticArray<System::Byte, 1073741824> ArrayOfByte;

typedef ArrayOfByte *PArrayOfByte;

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


typedef TRecordHeader *PRecordHeader;

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

#pragma pack(pop)

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

struct DECLSPEC_DRECORD TSheetInfo
{
public:
	int InsSheet;
	int FormulaSheet;
	TGetSheet GetSheet;
	TGetSheet SetSheet;
	System::TObject* Names;
};


typedef System::Word *pWord;

typedef unsigned *pLongWord;

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

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