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

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

#ifndef Fmx_UexceladapterHPP
#define Fmx_UexceladapterHPP

#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.Classes.hpp>	// Pascal unit
#include <System.SysUtils.hpp>	// Pascal unit
#include <System.Variants.hpp>	// Pascal unit
#include <FMX.UFlxMessages.hpp>	// Pascal unit
#include <FMX.UFlxFormats.hpp>	// Pascal unit

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

namespace Fmx
{
namespace Uexceladapter
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TExcelFile;
#pragma pack(push,4)
class PASCALIMPLEMENTATION TExcelFile : public System::TObject
{
	typedef System::TObject inherited;
	
protected:
	virtual System::Variant __fastcall GetCellValue(int aRow, int aCol) = 0 ;
	virtual void __fastcall SetCellValue(int aRow, int aCol, const System::Variant &Value) = 0 ;
	virtual Fmx::Uflxmessages::TXlsCellValue __fastcall GetCellValueX(int aRow, int aCol) = 0 ;
	virtual void __fastcall SetCellValueX(int aRow, int aCol, const Fmx::Uflxmessages::TXlsCellValue &Value) = 0 ;
	virtual System::UnicodeString __fastcall GetCellFormula(int aRow, int aCol) = 0 ;
	virtual void __fastcall SetCellFormula(int aRow, int aCol, const System::UnicodeString Value) = 0 ;
	virtual int __fastcall GetCommentsCount(int Row) = 0 ;
	virtual System::UnicodeString __fastcall GetCommentText(int Row, int aPos) = 0 ;
	virtual int __fastcall GetCommentColumn(int Row, int aPos) = 0 ;
	virtual System::UnicodeString __fastcall GetPictureName(int Row, int aPos) = 0 ;
	virtual int __fastcall GetPicturesCount(int Row) = 0 ;
	virtual int __fastcall GetExcelNameCount(void) = 0 ;
	virtual System::UnicodeString __fastcall GetRangeName(int index) = 0 ;
	virtual int __fastcall GetRangeR1(int index) = 0 ;
	virtual int __fastcall GetRangeR2(int index) = 0 ;
	virtual int __fastcall GetRangeC1(int index) = 0 ;
	virtual int __fastcall GetRangeC2(int index) = 0 ;
	virtual void __fastcall SetRangeR1(int index, int value) = 0 ;
	virtual void __fastcall SetRangeR2(int index, int value) = 0 ;
	virtual void __fastcall SetRangeC1(int index, int value) = 0 ;
	virtual void __fastcall SetRangeC2(int index, int value) = 0 ;
	virtual int __fastcall GetRangeSheet(int index) = 0 ;
	virtual int __fastcall GetActiveSheet(void) = 0 ;
	virtual void __fastcall SetActiveSheet(const int Value) = 0 ;
	virtual System::UnicodeString __fastcall GetActiveSheetName(void) = 0 ;
	virtual void __fastcall SetActiveSheetName(const System::UnicodeString Value) = 0 ;
	virtual System::UnicodeString __fastcall GetActiveSheetCodeName(void) = 0 ;
	virtual void __fastcall SetActiveSheetCodeName(const System::UnicodeString Value) = 0 ;
	virtual Fmx::Uflxmessages::TXlsSheetVisible __fastcall GetActiveSheetVisible(void) = 0 ;
	virtual void __fastcall SetActiveSheetVisible(const Fmx::Uflxmessages::TXlsSheetVisible Value) = 0 ;
	virtual int __fastcall GetColumnWidth(int aCol) = 0 ;
	virtual int __fastcall GetColumnWidthHiddenIsZero(int aCol) = 0 ;
	virtual int __fastcall GetRowHeight(int aRow) = 0 ;
	virtual int __fastcall GetRowHeightHiddenIsZero(int aRow) = 0 ;
	virtual void __fastcall SetColumnWidth(int aCol, const int Value) = 0 ;
	virtual void __fastcall SetRowHeight(int aRow, const int Value) = 0 ;
	virtual bool __fastcall GetRowHidden(const int aRow) = 0 ;
	virtual bool __fastcall GetColumnHidden(const int aCol) = 0 ;
	virtual void __fastcall SetRowHidden(const int aRow, const bool Value) = 0 ;
	virtual void __fastcall SetColumnHidden(const int aCol, const bool Value) = 0 ;
	virtual int __fastcall GetDefaultColWidth(void) = 0 ;
	virtual int __fastcall GetDefaultRowHeight(void) = 0 ;
	virtual bool __fastcall GetAutoRowHeight(int Row) = 0 ;
	virtual void __fastcall SetAutoRowHeight(int Row, const bool Value) = 0 ;
	virtual int __fastcall GetColumnFormat(int aColumn) = 0 ;
	virtual int __fastcall GetRowFormat(int aRow) = 0 ;
	virtual void __fastcall SetColumnFormat(int aColumn, const int Value) = 0 ;
	virtual void __fastcall SetRowFormat(int aRow, const int Value) = 0 ;
	virtual int __fastcall GetCellFormat(int aRow, int aCol) = 0 ;
	virtual void __fastcall SetCellFormat(int aRow, int aCol, const int Value) = 0 ;
	virtual unsigned __fastcall GetColorPalette(Fmx::Uflxmessages::TColorPaletteRange Index) = 0 ;
	virtual void __fastcall SetColorPalette(Fmx::Uflxmessages::TColorPaletteRange Index, const unsigned Value) = 0 ;
	virtual Fmx::Uflxformats::TFlxFont __fastcall GetFontList(int index) = 0 ;
	virtual void __fastcall SetFontList(int index, const Fmx::Uflxformats::TFlxFont &Value) = 0 ;
	virtual Fmx::Uflxformats::TFlxFormat __fastcall GetFormatList(int index) = 0 ;
	virtual void __fastcall SetFormatList(int index, const Fmx::Uflxformats::TFlxFormat &Value) = 0 ;
	virtual System::UnicodeString __fastcall GetPageFooter(void) = 0 ;
	virtual System::UnicodeString __fastcall GetPageHeader(void) = 0 ;
	virtual void __fastcall SetPageFooter(const System::UnicodeString Value) = 0 ;
	virtual void __fastcall SetPageHeader(const System::UnicodeString Value) = 0 ;
	virtual bool __fastcall GetShowGridLines(void) = 0 ;
	virtual void __fastcall SetShowGridLines(const bool Value) = 0 ;
	virtual bool __fastcall GetShowGridHeaders(void) = 0 ;
	virtual void __fastcall SetShowGridHeaders(const bool Value) = 0 ;
	virtual bool __fastcall GetPrintGridLines(void) = 0 ;
	virtual void __fastcall SetPrintGridLines(const bool Value) = 0 ;
	virtual int __fastcall GetSheetZoom(void) = 0 ;
	virtual void __fastcall SetSheetZoom(const int Value) = 0 ;
	virtual Fmx::Uflxmessages::TXlsMargins __fastcall GetMargins(void) = 0 ;
	virtual void __fastcall SetMargins(const Fmx::Uflxmessages::TXlsMargins &Value) = 0 ;
	virtual System::Word __fastcall GetPrintNumberOfHorizontalPages(void) = 0 ;
	virtual System::Word __fastcall GetPrintNumberOfVerticalPages(void) = 0 ;
	virtual int __fastcall GetPrintScale(void) = 0 ;
	virtual System::Byte __fastcall GetPrintOptions(void) = 0 ;
	virtual bool __fastcall GetPrintToFit(void) = 0 ;
	virtual void __fastcall SetPrintNumberOfHorizontalPages(const System::Word Value) = 0 ;
	virtual void __fastcall SetPrintNumberOfVerticalPages(const System::Word Value) = 0 ;
	virtual void __fastcall SetPrintScale(const int Value) = 0 ;
	virtual void __fastcall SetPrintOptions(const System::Byte Value) = 0 ;
	virtual void __fastcall SetPrintToFit(const bool Value) = 0 ;
	virtual bool __fastcall GetPrintHCentered(void) = 0 ;
	virtual bool __fastcall GetPrintVCentered(void) = 0 ;
	virtual void __fastcall SetPrintHCentered(const bool Value) = 0 ;
	virtual void __fastcall SetPrintVCentered(const bool Value) = 0 ;
	virtual int __fastcall GetPrintCopies(void) = 0 ;
	virtual Fmx::Uflxmessages::TPrinterDriverSettings __fastcall GetPrinterDriverSettings(void) = 0 ;
	virtual int __fastcall GetPrintPaperSize(void) = 0 ;
	virtual int __fastcall GetPrintXResolution(void) = 0 ;
	virtual int __fastcall GetPrintYResolution(void) = 0 ;
	virtual void __fastcall SetPrintCopies(const int Value) = 0 ;
	virtual void __fastcall SetPrinterDriverSettings(const Fmx::Uflxmessages::TPrinterDriverSettings &Value) = 0 ;
	virtual void __fastcall SetPrintPaperSize(const int Value) = 0 ;
	virtual void __fastcall SetPrintXResolution(const int Value) = 0 ;
	virtual void __fastcall SetPrintYResolution(const int Value) = 0 ;
	virtual bool __fastcall GetInvalidateFormulas(void) = 0 ;
	virtual void __fastcall SetInvalidateFormulas(const bool Value) = 0 ;
	virtual bool __fastcall GetIsXltTemplate(void) = 0 ;
	virtual void __fastcall SetIsXltTemplate(const bool Value) = 0 ;
	virtual Fmx::Uflxmessages::TXlsCellRange __fastcall GetCellMergedBounds(int aRow, int aCol) = 0 ;
	virtual Fmx::Uflxmessages::TXlsCellRange __fastcall GetCellMergedList(int index) = 0 ;
	virtual bool __fastcall GetOptions1904Dates(void) = 0 ;
	virtual bool __fastcall GetOptionsR1C1(void) = 0 ;
	virtual bool __fastcall GetOptionsSaveExternalLinkValues(void) = 0 ;
	virtual void __fastcall SetOptions1904Dates(const bool Value) = 0 ;
	virtual void __fastcall SetOptionsR1C1(const bool Value) = 0 ;
	virtual void __fastcall SetOptionsSaveExternalLinkValues(const bool Value) = 0 ;
	virtual bool __fastcall GetOptionsPrecisionAsDisplayed(void) = 0 ;
	virtual void __fastcall SetOptionsPrecisionAsDisplayed(const bool Value) = 0 ;
	virtual bool __fastcall GetOutlineSummaryColsRightOfDetail(void) = 0 ;
	virtual bool __fastcall GetOutlineSummaryRowsBelowDetail(void) = 0 ;
	virtual bool __fastcall GetOutlineAutomaticStyles(void) = 0 ;
	virtual void __fastcall SetOutlineSummaryColsRightOfDetail(const bool Value) = 0 ;
	virtual void __fastcall SetOutlineSummaryRowsBelowDetail(const bool Value) = 0 ;
	virtual void __fastcall SetOutlineAutomaticStyles(const bool Value) = 0 ;
	
public:
	virtual void __fastcall Connect(void) = 0 ;
	virtual void __fastcall Disconnect(void) = 0 ;
	virtual void __fastcall OpenFile(const System::Sysutils::TFileName FileName) = 0 ;
	virtual void __fastcall OpenFileAndSearch(const System::Sysutils::TFileName FileName) = 0 ;
	virtual void __fastcall NewFile(const int SheetCount = 0x3) = 0 ;
	virtual void __fastcall LoadFromStream(System::Classes::TStream* const Stream) = 0 ;
	virtual void __fastcall CloseFile(void) = 0 ;
	__property int ActiveSheet = {read=GetActiveSheet, write=SetActiveSheet, nodefault};
	virtual void __fastcall InsertAndCopySheets(const int CopyFrom, const int InsertBefore, const int SheetCount) = 0 ;
	virtual void __fastcall ClearSheet(void) = 0 ;
	virtual void __fastcall DeleteSheet(int aSheetCount) = 0 ;
	virtual int __fastcall SheetCount(void) = 0 ;
	__property System::UnicodeString ActiveSheetName = {read=GetActiveSheetName, write=SetActiveSheetName};
	__property System::UnicodeString ActiveSheetCodeName = {read=GetActiveSheetCodeName, write=SetActiveSheetCodeName};
	__property Fmx::Uflxmessages::TXlsSheetVisible ActiveSheetVisible = {read=GetActiveSheetVisible, write=SetActiveSheetVisible, nodefault};
	virtual void __fastcall SelectSheet(const int SheetNo) = 0 ;
	__property System::UnicodeString PageHeader = {read=GetPageHeader, write=SetPageHeader};
	__property System::UnicodeString PageFooter = {read=GetPageFooter, write=SetPageFooter};
	__property bool ShowGridLines = {read=GetShowGridLines, write=SetShowGridLines, nodefault};
	__property bool ShowGridHeaders = {read=GetShowGridHeaders, write=SetShowGridHeaders, nodefault};
	__property bool PrintGridLines = {read=GetPrintGridLines, write=SetPrintGridLines, nodefault};
	__property int SheetZoom = {read=GetSheetZoom, write=SetSheetZoom, nodefault};
	__property Fmx::Uflxmessages::TXlsMargins Margins = {read=GetMargins, write=SetMargins};
	__property bool PrintToFit = {read=GetPrintToFit, write=SetPrintToFit, nodefault};
	__property System::Byte PrintOptions = {read=GetPrintOptions, write=SetPrintOptions, nodefault};
	__property int PrintScale = {read=GetPrintScale, write=SetPrintScale, nodefault};
	__property System::Word PrintNumberOfHorizontalPages = {read=GetPrintNumberOfHorizontalPages, write=SetPrintNumberOfHorizontalPages, nodefault};
	__property System::Word PrintNumberOfVerticalPages = {read=GetPrintNumberOfVerticalPages, write=SetPrintNumberOfVerticalPages, nodefault};
	__property bool PrintHCentered = {read=GetPrintHCentered, write=SetPrintHCentered, nodefault};
	__property bool PrintVCentered = {read=GetPrintVCentered, write=SetPrintVCentered, nodefault};
	__property int PrintPaperSize = {read=GetPrintPaperSize, write=SetPrintPaperSize, nodefault};
	__property int PrintCopies = {read=GetPrintCopies, write=SetPrintCopies, nodefault};
	__property int PrintXResolution = {read=GetPrintXResolution, write=SetPrintXResolution, nodefault};
	__property int PrintYResolution = {read=GetPrintYResolution, write=SetPrintYResolution, nodefault};
	__property Fmx::Uflxmessages::TPrinterDriverSettings PrinterDriverSettings = {read=GetPrinterDriverSettings, write=SetPrinterDriverSettings};
	virtual void __fastcall DeleteMarkedRows(const System::UnicodeString Mark) = 0 ;
	virtual void __fastcall MakePageBreaks(const System::UnicodeString Mark) = 0 ;
	virtual void __fastcall InsertHPageBreak(const int Row) = 0 ;
	virtual void __fastcall InsertVPageBreak(const int Col) = 0 ;
	virtual void __fastcall DeleteHPageBreak(const int Row) = 0 ;
	virtual void __fastcall DeleteVPageBreak(const int Col) = 0 ;
	virtual bool __fastcall HasHPageBreak(const int Row) = 0 ;
	virtual bool __fastcall HasVPageBreak(const int Col) = 0 ;
	virtual void __fastcall RefreshPivotTables(void) = 0 ;
	virtual void __fastcall RefreshChartRanges(const System::UnicodeString VarStr) = 0 ;
	virtual void __fastcall Save(const bool AutoClose, const System::UnicodeString FileName, const Fmx::Uflxmessages::TOnGetFileNameEvent OnGetFileName, const Fmx::Uflxmessages::TOnGetOutStreamEvent OnGetOutStream = 0x0, System::Classes::TStream* const DataStream = (System::Classes::TStream*)(0x0)) = 0 ;
	virtual void __fastcall InsertAndCopyRows(const int FirstRow, const int LastRow, const int DestRow, const int aCount, const bool OnlyFormulas) = 0 ;
	virtual void __fastcall InsertAndCopyCols(const int FirstCol, const int LastCol, const int DestCol, const int aCount, const bool OnlyFormulas) = 0 ;
	virtual void __fastcall DeleteRows(const int aRow, const int aCount) = 0 ;
	virtual void __fastcall DeleteCols(const int aCol, const int aCount) = 0 ;
	virtual void __fastcall BeginSheet(void) = 0 ;
	virtual void __fastcall EndSheet(const int RowOffset) = 0 ;
	virtual bool __fastcall CanOptimizeRead(void) = 0 ;
	__property int RangeCount = {read=GetExcelNameCount, nodefault};
	__property System::UnicodeString RangeName[int index] = {read=GetRangeName};
	__property int RangeR1[int index] = {read=GetRangeR1, write=SetRangeR1};
	__property int RangeR2[int index] = {read=GetRangeR2, write=SetRangeR2};
	__property int RangeC1[int index] = {read=GetRangeC1, write=SetRangeC1};
	__property int RangeC2[int index] = {read=GetRangeC2, write=SetRangeC2};
	__property int RangeSheet[int index] = {read=GetRangeSheet};
	virtual void __fastcall AddRange(Fmx::Uflxmessages::TXlsNamedRange &NamedRange) = 0 ;
	__property int PicturesCount[int Row] = {read=GetPicturesCount};
	__property System::UnicodeString PictureName[int Row][int aPos] = {read=GetPictureName};
	virtual void __fastcall AssignPicture(const int Row, const int aPos, const Fmx::Uflxmessages::ByteArray Pic, const Fmx::Uflxmessages::TXlsImgTypes PicType) = 0 /* overload */;
	virtual void __fastcall AssignPicture(const int Row, const int aPos, const Fmx::Uflxmessages::ByteArray Pic, const Fmx::Uflxmessages::TXlsImgTypes PicType, const Fmx::Uflxmessages::TImageProperties &Props, const Fmx::Uflxmessages::TFlxAnchorType Anchor = (Fmx::Uflxmessages::TFlxAnchorType)(0x1)) = 0 /* overload */;
	virtual void __fastcall AssignPictureProperties(const int Row, const int aPos, const Fmx::Uflxmessages::TImageProperties &Props, const Fmx::Uflxmessages::TFlxAnchorType Anchor = (Fmx::Uflxmessages::TFlxAnchorType)(0x1)) = 0 ;
	virtual void __fastcall GetPicture(const int Row, const int aPos, System::Classes::TStream* const Pic, /* out */ Fmx::Uflxmessages::TXlsImgTypes &PicType, /* out */ Fmx::Uflxmessages::TClientAnchor &Anchor) = 0 ;
	virtual void __fastcall DeleteImage(const int Index) = 0 ;
	virtual void __fastcall ClearImage(const int Index) = 0 ;
	virtual void __fastcall AddImage(const Fmx::Uflxmessages::ByteArray Data, const Fmx::Uflxmessages::TXlsImgTypes DataType, const Fmx::Uflxmessages::TImageProperties &Properties, const Fmx::Uflxmessages::TFlxAnchorType Anchor) = 0 ;
	__property int CommentsCount[int Row] = {read=GetCommentsCount};
	__property System::UnicodeString CommentText[int Row][int aPos] = {read=GetCommentText};
	__property int CommentColumn[int Row][int aPos] = {read=GetCommentColumn};
	virtual void __fastcall AssignComment(const int Row, const int aPos, const System::UnicodeString Comment) = 0 ;
	virtual void __fastcall SetCellComment(int Row, int Col, const System::UnicodeString Value, const Fmx::Uflxmessages::TImageProperties &Properties) = 0 ;
	virtual System::UnicodeString __fastcall GetCellComment(int Row, int Col) = 0 ;
	virtual int __fastcall CellCount(const int aRow) = 0 ;
	virtual System::Variant __fastcall GetCellData(const int aRow, const int aColOffset) = 0 ;
	virtual Fmx::Uflxmessages::TXlsCellValue __fastcall GetCellDataX(const int aRow, const int aColOffset) = 0 ;
	virtual void __fastcall GetCellDataX2(const int aRow, const int aColOffset, /* out */ Fmx::Uflxmessages::TXlsCellValue &v, /* out */ Fmx::Uflxmessages::TRTFRunList &RTFRuns) = 0 ;
	virtual void __fastcall AssignCellData(const int aRow, const int aColOffset, const System::Variant &Value) = 0 ;
	virtual void __fastcall AssignCellDataX(const int aRow, const int aColOffset, const Fmx::Uflxmessages::TXlsCellValue &Value) = 0 ;
	virtual void __fastcall AssignCellDataX2(const int aRow, const int aColOffset, const Fmx::Uflxmessages::TXlsCellValue &Value, const Fmx::Uflxmessages::TRTFRunList RTFRuns) = 0 ;
	virtual void __fastcall GetCellValueX2(int aRow, int aCol, /* out */ Fmx::Uflxmessages::TXlsCellValue &v, /* out */ Fmx::Uflxmessages::TRTFRunList &RTFRuns) = 0 ;
	virtual void __fastcall AssignCellValueX2(int aRow, int aCol, const Fmx::Uflxmessages::TXlsCellValue &Value, const Fmx::Uflxmessages::TRTFRunList RTFRuns) = 0 ;
	virtual void __fastcall SetCellString(const int aRow, const int aCol, const System::UnicodeString Text, const System::UnicodeString DateFormat = System::UnicodeString(), const System::UnicodeString TimeFormat = System::UnicodeString()) = 0 /* overload */;
	virtual void __fastcall SetCellString(const int aRow, const int aCol, const System::UnicodeString Text, const Fmx::Uflxformats::TFlxFormat &Fm, const System::UnicodeString DateFormat = System::UnicodeString(), const System::UnicodeString TimeFormat = System::UnicodeString()) = 0 /* overload */;
	virtual int __fastcall MaxRow(void) = 0 ;
	virtual int __fastcall MaxCol(void) = 0 ;
	virtual bool __fastcall IsEmptyRow(const int aRow) = 0 ;
	__property System::Variant CellValue[int aRow][int aCol] = {read=GetCellValue, write=SetCellValue};
	__property Fmx::Uflxmessages::TXlsCellValue CellValueX[int aRow][int aCol] = {read=GetCellValueX, write=SetCellValueX};
	__property int CellFormat[int aRow][int aCol] = {read=GetCellFormat, write=SetCellFormat};
	__property System::UnicodeString CellFormula[int aRow][int aCol] = {read=GetCellFormula, write=SetCellFormula};
	virtual void __fastcall SetCellFormulaX(int aRow, int aCol, const System::UnicodeString Formula, const System::Variant &Value) = 0 ;
	virtual int __fastcall ColByIndex(const int Row, const int ColIndex) = 0 ;
	virtual int __fastcall ColIndexCount(const int Row) = 0 ;
	virtual int __fastcall ColIndex(const int Row, const int Col) = 0 ;
	__property int ColumnWidth[int aCol] = {read=GetColumnWidth, write=SetColumnWidth};
	__property int ColumnWidthHiddenIsZero[int aCol] = {read=GetColumnWidthHiddenIsZero};
	__property int RowHeight[int aRow] = {read=GetRowHeight, write=SetRowHeight};
	__property int RowHeightHiddenIsZero[int aRow] = {read=GetRowHeight};
	__property bool ColumnHidden[const int aCol] = {read=GetColumnHidden, write=SetColumnHidden};
	__property bool RowHidden[const int aRow] = {read=GetRowHidden, write=SetRowHidden};
	__property int DefaultColWidth = {read=GetDefaultColWidth, nodefault};
	__property int DefaultRowHeight = {read=GetDefaultRowHeight, nodefault};
	__property int ColumnFormat[int aColumn] = {read=GetColumnFormat, write=SetColumnFormat};
	__property int RowFormat[int aRow] = {read=GetRowFormat, write=SetRowFormat};
	virtual void __fastcall SetBounds(const int aRangePos) = 0 ;
	virtual int __fastcall GetFirstColumn(void) = 0 ;
	virtual void __fastcall PrepareBlockData(const int R1, const int C1, const int R2, const int C2) = 0 ;
	virtual void __fastcall AssignBlockData(const int Row, const int Col, const System::Variant &v) = 0 ;
	virtual void __fastcall PasteBlockData(void) = 0 ;
	virtual bool __fastcall IsWorksheet(const int index) = 0 ;
	__property bool AutoRowHeight[int Row] = {read=GetAutoRowHeight, write=SetAutoRowHeight};
	__property unsigned ColorPalette[Fmx::Uflxmessages::TColorPaletteRange Index] = {read=GetColorPalette, write=SetColorPalette};
	virtual Fmx::Uflxmessages::BooleanArray __fastcall GetUsedPaletteColors(void) = 0 ;
	__property Fmx::Uflxformats::TFlxFont FontList[int index] = {read=GetFontList, write=SetFontList};
	virtual int __fastcall FontListCount(void) = 0 ;
	__property Fmx::Uflxformats::TFlxFormat FormatList[int index] = {read=GetFormatList, write=SetFormatList};
	virtual int __fastcall FormatListCount(void) = 0 ;
	virtual int __fastcall AddFormat(const Fmx::Uflxformats::TFlxFormat &Fmt) = 0 ;
	virtual int __fastcall AddFont(const Fmx::Uflxformats::TFlxFont &Fmt) = 0 ;
	__property Fmx::Uflxmessages::TXlsCellRange CellMergedBounds[int aRow][int aCol] = {read=GetCellMergedBounds};
	virtual void __fastcall MergeCells(const int FirstRow, const int FirstCol, const int LastRow, const int LastCol) = 0 ;
	virtual void __fastcall UnMergeCells(const int FirstRow, const int FirstCol, const int LastRow, const int LastCol) = 0 ;
	virtual int __fastcall CellMergedListCount(void) = 0 ;
	__property Fmx::Uflxmessages::TXlsCellRange CellMergedList[int index] = {read=GetCellMergedList};
	virtual void __fastcall CopyToClipboard(void) = 0 /* overload */;
	virtual void __fastcall CopyToClipboard(const Fmx::Uflxmessages::TXlsCellRange &Range) = 0 /* overload */;
	virtual void __fastcall PasteFromClipboard(const int Row, const int Col) = 0 ;
	virtual void __fastcall ParseComments(void) = 0 ;
	virtual int __fastcall HyperLinkCount(void) = 0 ;
	virtual Fmx::Uflxmessages::THyperLink __fastcall GetHyperLink(const int HyperLinkIndex) = 0 ;
	virtual void __fastcall SetHyperLink(const int HyperLinkIndex, const Fmx::Uflxmessages::THyperLink &value) = 0 ;
	virtual Fmx::Uflxmessages::TXlsCellRange __fastcall GetHyperLinkCellRange(const int HyperLinkIndex) = 0 ;
	virtual void __fastcall SetHyperLinkCellRange(const int HyperLinkIndex, const Fmx::Uflxmessages::TXlsCellRange &CellRange) = 0 ;
	virtual void __fastcall AddHyperLink(const Fmx::Uflxmessages::TXlsCellRange &CellRange, const Fmx::Uflxmessages::THyperLink &value) = 0 ;
	virtual void __fastcall DeleteHyperLink(const int HyperLinkIndex) = 0 ;
	virtual int __fastcall GetRowOutlineLevel(const int aRow) = 0 ;
	virtual void __fastcall SetRowOutlineLevel(const int FirstRow, const int LastRow, const int Value) = 0 ;
	virtual int __fastcall GetColOutlineLevel(const int aCol) = 0 ;
	virtual void __fastcall SetColOutlineLevel(const int FirstCol, const int LastCol, const int Level) = 0 ;
	__property bool OutlineSummaryRowsBelowDetail = {read=GetOutlineSummaryRowsBelowDetail, write=SetOutlineSummaryRowsBelowDetail, nodefault};
	__property bool OutlineSummaryColsRightOfDetail = {read=GetOutlineSummaryColsRightOfDetail, write=SetOutlineSummaryColsRightOfDetail, nodefault};
	__property bool OutlineAutomaticStyles = {read=GetOutlineAutomaticStyles, write=SetOutlineAutomaticStyles, nodefault};
	__property bool Options1904Dates = {read=GetOptions1904Dates, write=SetOptions1904Dates, nodefault};
	__property bool OptionsR1C1 = {read=GetOptionsR1C1, write=SetOptionsR1C1, nodefault};
	__property bool OptionsSaveExternalLinkValues = {read=GetOptionsSaveExternalLinkValues, write=SetOptionsSaveExternalLinkValues, nodefault};
	__property bool OptionsPrecisionAsDisplayed = {read=GetOptionsPrecisionAsDisplayed, write=SetOptionsPrecisionAsDisplayed, nodefault};
	virtual void __fastcall FreezePanes(const int Row, const int Col) = 0 ;
	virtual void __fastcall GetFrozenPanes(/* out */ int &Row, /* out */ int &Col) = 0 ;
	virtual void __fastcall SplitWindow(const int xOffset, const int yOffset) = 0 ;
	virtual void __fastcall GetSplitWindow(/* out */ int &xOffset, /* out */ int &yOffset) = 0 ;
	__property bool InvalidateFormulas = {read=GetInvalidateFormulas, write=SetInvalidateFormulas, nodefault};
	__property bool IsXltTemplate = {read=GetIsXltTemplate, write=SetIsXltTemplate, nodefault};
	virtual void __fastcall AutofitRow(const int row1, const int row2, const bool AutofitNotAutofittingRows, const bool keepHeightAutomatic, const System::Extended adjustment) = 0 ;
	virtual void __fastcall AutofitCol(const int Col1, const int Col2, const bool IgnoreStrings, const System::Extended Adjustment) = 0 ;
	virtual void __fastcall AutofitRowsOnWorkbook(const bool AutofitNotAutofittingRows, const bool KeepSizesAutomatic, const System::Extended Adjustment) = 0 ;
	virtual void __fastcall SetAutoFilter(const int row, const int col1, const int col2) = 0 /* overload */;
	virtual void __fastcall RemoveAutoFilter(void) = 0 ;
	virtual bool __fastcall HasAutoFilter(void) = 0 /* overload */;
	virtual bool __fastcall HasAutoFilter(const int row, const int col) = 0 /* overload */;
	virtual Fmx::Uflxmessages::TXlsCellRange __fastcall GetAutoFilterRange(void) = 0 ;
	virtual int __fastcall DefaultFormatId(void) = 0 ;
public:
	/* TObject.Create */ inline __fastcall TExcelFile(void) : System::TObject() { }
	/* TObject.Destroy */ inline __fastcall virtual ~TExcelFile(void) { }
	
};

#pragma pack(pop)

class DELPHICLASS TExcelAdapter;
class PASCALIMPLEMENTATION TExcelAdapter : public System::Classes::TComponent
{
	typedef System::Classes::TComponent inherited;
	
private:
	System::UnicodeString FBasePathToOpen;
	
public:
	virtual TExcelFile* __fastcall GetWorkbook(void) = 0 ;
	
__published:
	__property System::UnicodeString BasePathToOpen = {read=FBasePathToOpen, write=FBasePathToOpen};
public:
	/* TComponent.Create */ inline __fastcall virtual TExcelAdapter(System::Classes::TComponent* AOwner) : System::Classes::TComponent(AOwner) { }
	/* TComponent.Destroy */ inline __fastcall virtual ~TExcelAdapter(void) { }
	
};


//-- var, const, procedure ---------------------------------------------------
}	/* namespace Uexceladapter */
}	/* namespace Fmx */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_FMX_UEXCELADAPTER)
using namespace Fmx::Uexceladapter;
#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_UexceladapterHPP
