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

// (DO NOT EDIT: machine generated header) 'QImport3XLSUtils.pas' rev: 34.00 (Windows)

#ifndef Qimport3xlsutilsHPP
#define Qimport3xlsutilsHPP

#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>
#include <SysInit.hpp>
#include <System.Classes.hpp>
#include <System.SysUtils.hpp>
#include <System.Math.hpp>
#include <QImport3XLSCommon.hpp>
#include <QImport3XLSFile.hpp>
#include <QImport3XLSConsts.hpp>

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

namespace Qimport3xlsutils
{
//-- forward type declarations -----------------------------------------------
//-- type declarations -------------------------------------------------------
//-- var, const, procedure ---------------------------------------------------
#define LETTERS L"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
#define NUMBERS L"0123456789"
extern DELPHI_PACKAGE void __fastcall ObjFreeAndNil(void *Obj);
extern DELPHI_PACKAGE System::Word __fastcall GetWord(const System::Sysutils::PByteArray Data, int Offset);
extern DELPHI_PACKAGE void __fastcall SetWord(const System::Sysutils::PByteArray Data, int Offset, System::Word Value);
extern DELPHI_PACKAGE int __fastcall GetInteger(const System::Sysutils::PByteArray Data, int Offset);
extern DELPHI_PACKAGE void __fastcall SetInteger(const System::Sysutils::PByteArray Data, const int Offset, int Value);
extern DELPHI_PACKAGE System::WideString __fastcall StringToWideStringNoCodePage(const System::AnsiString Str);
extern DELPHI_PACKAGE System::AnsiString __fastcall WideStringToStringNoCodePage(const System::WideString WStr);
extern DELPHI_PACKAGE bool __fastcall IsWide(const System::WideString WStr);
extern DELPHI_PACKAGE int __fastcall CompareWideStr(const System::WideString S1, const System::WideString S2);
extern DELPHI_PACKAGE System::WideString __fastcall ByteArrayToStr(System::Sysutils::PByteArray Buffer, int Length);
extern DELPHI_PACKAGE void __fastcall ReadMem(Qimport3xlsfile::TbiffRecord* &ARecord, int &Position, const int Size, const void * ResPtr);
extern DELPHI_PACKAGE void __fastcall ReadStr(Qimport3xlsfile::TbiffRecord* &ARecord, int &Position, System::AnsiString &ShortData, System::WideString &WideData, System::Byte &OptionFlags, System::Byte &RealOptionFlags, int &DestPos, const int StrLen);
extern DELPHI_PACKAGE bool __fastcall EncodeRK(double Value, int &RK);
extern DELPHI_PACKAGE int __fastcall GetStrLen(bool IsWide, System::Sysutils::PByteArray Data, int Position, bool UseExtStrLen, int ExtStrLen);
extern DELPHI_PACKAGE System::WideString __fastcall ErrCodeToString(int ErrCode);
extern DELPHI_PACKAGE int __fastcall StringToErrCode(const System::WideString ErrStr);
extern DELPHI_PACKAGE System::UnicodeString __fastcall Col2Letter(int Col);
extern DELPHI_PACKAGE System::UnicodeString __fastcall Row2Number(int Row);
extern DELPHI_PACKAGE int __fastcall Letter2Col(System::UnicodeString Letter);
extern DELPHI_PACKAGE int __fastcall Number2Row(System::UnicodeString Number);
extern DELPHI_PACKAGE bool __fastcall CellIsDateTime(Qimport3xlsfile::TbiffCell* Cell);
extern DELPHI_PACKAGE Qimport3xlsfile::TbiffRecord* __fastcall LoadRecord(Qimport3xlsfile::TxlsSection* Section, System::Classes::TStream* Stream, Qimport3xlscommon::TBIFF_Header Header);
}	/* namespace Qimport3xlsutils */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_QIMPORT3XLSUTILS)
using namespace Qimport3xlsutils;
#endif
#pragma pack(pop)
#pragma option pop

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