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

// (DO NOT EDIT: machine generated header) 'Smiwiz.pas' rev: 21.00

#ifndef SmiwizHPP
#define SmiwizHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <Sysinit.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Stdctrls.hpp>	// Pascal unit
#include <Extctrls.hpp>	// Pascal unit
#include <Db.hpp>	// Pascal unit
#include <Smibase.hpp>	// Pascal unit
#include <Grids.hpp>	// Pascal unit
#include <Tabs.hpp>	// Pascal unit
#include <Menus.hpp>	// Pascal unit
#include <Smi2xml.hpp>	// Pascal unit
#include <Smipst.hpp>	// Pascal unit
#include <Comctrls.hpp>	// Pascal unit
#include <Variants.hpp>	// Pascal unit
#include <Types.hpp>	// Pascal unit

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

namespace Smiwiz
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TSMIFileCategory { fciDocument, fciDatabase, fciSpreadsheet, fciWEB, fciEmail, fciOther };
#pragma option pop

class DELPHICLASS TSMICategories;
class PASCALIMPLEMENTATION TSMICategories : public Classes::TPersistent
{
	typedef Classes::TPersistent inherited;
	
private:
	bool FShowCategories;
	Graphics::TColor FBackColor;
	Graphics::TFont* FTextFont;
	Smibase::TImportFormatTypes FDocumentFormats;
	Smibase::TImportFormatTypes FDatabaseFormats;
	Smibase::TImportFormatTypes FSpreadsheetFormats;
	Smibase::TImportFormatTypes FWEBFormats;
	Smibase::TImportFormatTypes FEMailFormats;
	Smibase::TImportFormatTypes FOtherFormats;
	
protected:
	Graphics::TFont* __fastcall GetTextFont(void);
	void __fastcall SetTextFont(Graphics::TFont* Value);
	
public:
	__fastcall virtual TSMICategories(void);
	__fastcall virtual ~TSMICategories(void);
	virtual void __fastcall Assign(Classes::TPersistent* Source);
	
__published:
	__property bool ShowCategories = {read=FShowCategories, write=FShowCategories, default=1};
	__property Graphics::TColor BackColor = {read=FBackColor, write=FBackColor, default=-16777203};
	__property Graphics::TFont* TextFont = {read=GetTextFont, write=SetTextFont};
	__property Smibase::TImportFormatTypes DocumentFormats = {read=FDocumentFormats, write=FDocumentFormats, default=33284};
	__property Smibase::TImportFormatTypes DatabaseFormats = {read=FDatabaseFormats, write=FDatabaseFormats, default=29955};
	__property Smibase::TImportFormatTypes SpreadsheetFormats = {read=FSpreadsheetFormats, write=FSpreadsheetFormats, default=264304};
	__property Smibase::TImportFormatTypes WEBFormats = {read=FWEBFormats, write=FWEBFormats, default=1245320};
	__property Smibase::TImportFormatTypes EMailFormats = {read=FEMailFormats, write=FEMailFormats, default=524288};
	__property Smibase::TImportFormatTypes OtherFormats = {read=FOtherFormats, write=FOtherFormats, default=0};
};


typedef void __fastcall (__closure *TSMIGetSpecificationsEvent)(System::TObject* Sender, Classes::TStrings* List);

typedef void __fastcall (__closure *TSMISaveSpecNotifyEvent)(System::TObject* Sender, const System::UnicodeString Caption, const System::UnicodeString FileName);

typedef void __fastcall (__closure *TSMICloseEvent)(System::TObject* Sender, Controls::TModalResult &Action);

typedef void __fastcall (__closure *TSMIStepChangeEvent)(System::TObject* Sender, bool &Allow);

#pragma option push -b-
enum TSMIDirection { idForward, idBackward };
#pragma option pop

class DELPHICLASS TfrmSMIWizard;
class DELPHICLASS TSMIWizardDlg;
class PASCALIMPLEMENTATION TfrmSMIWizard : public Forms::TForm
{
	typedef Forms::TForm inherited;
	
private:
	typedef StaticArray<System::UnicodeString, 8> _TfrmSMIWizard__1;
	
	typedef StaticArray<System::UnicodeString, 8> _TfrmSMIWizard__2;
	
	
__published:
	Stdctrls::TButton* btnPrev;
	Stdctrls::TButton* btnNext;
	Stdctrls::TButton* btnCancel;
	Stdctrls::TLabel* lblStep;
	Extctrls::TImage* imgLogo;
	Stdctrls::TButton* btnSpecs;
	Extctrls::TImage* imgKey;
	Extctrls::TPanel* pnlStep1;
	Extctrls::TRadioGroup* rgTableType;
	Extctrls::TPanel* pnlStep2;
	Stdctrls::TLabel* lblFileName;
	Stdctrls::TEdit* edFileName;
	Stdctrls::TButton* btnFileName;
	Stdctrls::TLabel* lblTableName;
	Stdctrls::TComboBox* cbTableNames;
	Stdctrls::TLabel* lblFileOrigin;
	Stdctrls::TComboBox* cbCharacterSet;
	Extctrls::TPanel* pnlStep3;
	Stdctrls::TRadioButton* rbText1;
	Stdctrls::TRadioButton* rbText2;
	Extctrls::TRadioGroup* rgSeparator;
	Stdctrls::TEdit* edSymbol;
	Stdctrls::TLabel* lblQualifier;
	Stdctrls::TLabel* lblRecSeparator;
	Stdctrls::TComboBox* cbRecSeparator;
	Stdctrls::TComboBox* cbQualifier;
	Extctrls::TPanel* pnlStep4;
	Stdctrls::TLabel* lblFirstRow;
	Stdctrls::TEdit* edFirstRow;
	Stdctrls::TLabel* lblLastRow;
	Stdctrls::TEdit* edLastRow;
	Stdctrls::TGroupBox* gbFormat;
	Stdctrls::TLabel* lblDateOrder;
	Stdctrls::TLabel* lblDecimalSymbol;
	Stdctrls::TComboBox* cbDateOrder;
	Stdctrls::TEdit* edDecimalSymbol;
	Extctrls::TPanel* pnlStep5Fixed;
	Stdctrls::TLabel* lblStep5FixedB;
	Extctrls::TPaintBox* pbBreaks;
	Stdctrls::TScrollBar* sbBreakHorz;
	Stdctrls::TScrollBar* sbBreakVert;
	Extctrls::TPanel* pnlStep6CSV;
	Grids::TStringGrid* sgPreviewFile;
	Extctrls::TPanel* pnlStep7;
	Grids::TStringGrid* sgMappings;
	Stdctrls::TComboBox* cbFields;
	Stdctrls::TCheckBox* cbKey;
	Extctrls::TPanel* pnlStep8;
	Grids::TStringGrid* sgPreview;
	Extctrls::TPanel* pnlStep9;
	Extctrls::TRadioGroup* rgModeType;
	Tabs::TTabSet* tsSheets;
	Stdctrls::TButton* btnFirst;
	Stdctrls::TButton* btnLast;
	Menus::TPopupMenu* pmFieldList;
	Stdctrls::TLabel* lblThousandSymbol;
	Stdctrls::TEdit* edThousandSymbol;
	Stdctrls::TLabel* lblCurrencyString;
	Stdctrls::TEdit* edCurrencyString;
	Stdctrls::TLabel* lblLogical;
	Stdctrls::TEdit* edTrue;
	Stdctrls::TEdit* edFalse;
	Extctrls::TPanel* pnlFields;
	Stdctrls::TButton* btnExpBuilder;
	Extctrls::TPanel* pnlDescription;
	Stdctrls::TLabel* lblCaption;
	Extctrls::TImage* imgBackground;
	Extctrls::TImage* imgDescription;
	Stdctrls::TLabel* lblDescription;
	Stdctrls::TLabel* lblStepInfo;
	Stdctrls::TLabel* lblFieldNameRow;
	Stdctrls::TEdit* edFieldNameRow;
	Extctrls::TPanel* pnlStandardDate;
	Stdctrls::TCheckBox* cbFourDigitYear;
	Stdctrls::TCheckBox* cbLeadingZerosInDate;
	Extctrls::TPanel* pnlCustomDate;
	Stdctrls::TComboBox* cbCustomDateFormat;
	Stdctrls::TLabel* lblDateDelimiter;
	Stdctrls::TEdit* edDateDelimiter;
	Stdctrls::TLabel* lblTimeDelimiter;
	Stdctrls::TEdit* edTimeDelimiter;
	Stdctrls::TCheckBox* cbLoadWhen;
	Stdctrls::TCheckBox* cbSkipIf;
	Stdctrls::TEdit* edLoadWhen;
	Stdctrls::TButton* btnLoadWhen;
	Stdctrls::TEdit* edSkipIf;
	Stdctrls::TButton* btnSkipIf;
	Extctrls::TImage* imgAutoArrange;
	Stdctrls::TCheckBox* chkShowFileHeader;
	Extctrls::TPanel* pnlCategory;
	Forms::TScrollBox* sbCategory;
	Extctrls::TPanel* pnlStep3XML;
	Stdctrls::TGroupBox* gbXMLTags;
	Stdctrls::TCheckBox* chkXMLCaseSensitive;
	Stdctrls::TLabel* lblXMLRecordsTag;
	Stdctrls::TEdit* edXMLRecordsTag;
	Stdctrls::TLabel* lblXMLRecordTag;
	Stdctrls::TEdit* edXMLRecordTag;
	Stdctrls::TLabel* lblXMLRowTag;
	Stdctrls::TEdit* edXMLRowTag;
	Extctrls::TPanel* pnlStep3Outlook;
	Stdctrls::TCheckBox* chkOutlookLoadSubFolders;
	Comctrls::TTreeView* tvOutlookFolders;
	Stdctrls::TLabel* lblOutlookItemType;
	Stdctrls::TComboBox* cbOutlookItemType;
	Controls::TImageList* imgOutlook;
	Stdctrls::TRadioButton* rbOutlookDefFolder;
	Stdctrls::TRadioButton* rbOutlookCustomFolder;
	Stdctrls::TComboBox* cboTrim;
	Stdctrls::TLabel* lblTrim;
	void __fastcall btnNextClick(System::TObject* Sender);
	void __fastcall btnPrevClick(System::TObject* Sender);
	void __fastcall FormCreate(System::TObject* Sender);
	void __fastcall FormActivate(System::TObject* Sender);
	void __fastcall FormCloseQuery(System::TObject* Sender, bool &CanClose);
	void __fastcall btnFileNameClick(System::TObject* Sender);
	void __fastcall rgSeparatorClick(System::TObject* Sender);
	void __fastcall edSymbolChange(System::TObject* Sender);
	void __fastcall rgTableTypeClick(System::TObject* Sender);
	void __fastcall btnCancelClick(System::TObject* Sender);
	void __fastcall cbFieldsChange(System::TObject* Sender);
	void __fastcall sgMappingsSelectCell(System::TObject* Sender, int Col, int Row, bool &CanSelect);
	void __fastcall pbBreaksPaint(System::TObject* Sender);
	void __fastcall sgMappingsDrawCell(System::TObject* Sender, int Col, int Row, const Types::TRect &Rect, Grids::TGridDrawState State);
	void __fastcall sbBreakHorzScroll(System::TObject* Sender, Stdctrls::TScrollCode ScrollCode, int &ScrollPos);
	void __fastcall sbBreakVertScroll(System::TObject* Sender, Stdctrls::TScrollCode ScrollCode, int &ScrollPos);
	void __fastcall FormDestroy(System::TObject* Sender);
	void __fastcall pbBreaksMouseUp(System::TObject* Sender, Controls::TMouseButton Button, Classes::TShiftState Shift, int X, int Y);
	void __fastcall pbBreaksMouseMove(System::TObject* Sender, Classes::TShiftState Shift, int X, int Y);
	void __fastcall pbBreaksMouseDown(System::TObject* Sender, Controls::TMouseButton Button, Classes::TShiftState Shift, int X, int Y);
	void __fastcall edFileNameChange(System::TObject* Sender);
	void __fastcall rbText1Click(System::TObject* Sender);
	void __fastcall btnSpecsClick(System::TObject* Sender);
	void __fastcall cbKeyExit(System::TObject* Sender);
	void __fastcall cbTableNamesDropDown(System::TObject* Sender);
	void __fastcall tsSheetsChange(System::TObject* Sender, int NewTab, bool &AllowChange);
	void __fastcall btnFirstClick(System::TObject* Sender);
	void __fastcall btnLastClick(System::TObject* Sender);
	void __fastcall sgPreviewFileMouseDown(System::TObject* Sender, Controls::TMouseButton Button, Classes::TShiftState Shift, int X, int Y);
	void __fastcall ColumnMapped(System::TObject* Sender);
	void __fastcall FormKeyDown(System::TObject* Sender, System::Word &Key, Classes::TShiftState Shift);
	void __fastcall FormResize(System::TObject* Sender);
	void __fastcall btnExpBuilderClick(System::TObject* Sender);
	void __fastcall pnlFieldsResize(System::TObject* Sender);
	void __fastcall cbTableNamesChange(System::TObject* Sender);
	void __fastcall cbDateOrderChange(System::TObject* Sender);
	void __fastcall cbLoadWhenClick(System::TObject* Sender);
	void __fastcall cbSkipIfClick(System::TObject* Sender);
	void __fastcall sgMappingsTopLeftChanged(System::TObject* Sender);
	void __fastcall imgAutoArrangeClick(System::TObject* Sender);
	void __fastcall pnlCategoryResize(System::TObject* Sender);
	void __fastcall pnlStep3OutlookResize(System::TObject* Sender);
	void __fastcall rbOutlookDefFolderClick(System::TObject* Sender);
	
private:
	int frmHeightMin;
	int frmHeightMax;
	int frmWidthMin;
	int frmWidthMax;
	Graphics::TBitmap* bmpDropdownArrow;
	int FintCurStep;
	int intCountStep;
	bool IsRun;
	System::UnicodeString CaptionsFromFirstRow;
	int intBreakShiftX;
	int intBreakShiftY;
	Classes::TList* lstBreaks;
	int InDownMouse;
	bool MousePressed;
	Classes::TStrings* lstTextSample;
	bool TxtWasChanged;
	bool BreaksWasChanged;
	TSMISaveSpecNotifyEvent OnSaveSpec;
	Classes::TNotifyEvent OnLoadSpec;
	TSMIGetSpecificationsEvent OnGetSpecifications;
	TSMIDirection FDirection;
	bool __fastcall MappingsAreEmpty(void);
	void __fastcall ClearMappedFields(void);
	void __fastcall UpdateButtons(void);
	int __fastcall GetBreak(int X, bool IsAdd);
	System::WideChar __fastcall GetDelimiter(void);
	System::WideChar __fastcall GetQualifier(void);
	Smibase::TTableTypeImport __fastcall GetTableTypeIndex(void);
	System::UnicodeString __fastcall GetNormalizedFieldName(const System::UnicodeString Source, bool Add);
	void __fastcall LoadTxt(void);
	void __fastcall SetCurStep(int Value);
	void __fastcall DrawCheckBox(unsigned ACanvasHandle, const Types::TRect &R, bool IsChecked);
	void __fastcall ClearOutlookFolders(void);
	int __fastcall GetMapIndex(System::UnicodeString Value, bool IsName);
	System::UnicodeString __fastcall GetFieldCaption(const System::UnicodeString FieldName);
	void __fastcall BuildListField(void);
	void __fastcall LoadFileToGrid(void);
	void __fastcall BuildPreviewGrid(void);
	void __fastcall BuildDefaultMappings(void);
	void __fastcall ParserEvaluate(System::TObject* Sender, System::UnicodeString Eval, System::Variant *Args, const int Args_Size, int ArgCount, bool IsChild, System::Variant &Value, bool &Done);
	System::Variant __fastcall GetEvalValue(const System::UnicodeString Expression, int RowNo);
	bool __fastcall IsValidCurStep(void);
	int __fastcall GetTopRow(bool IncludeDummy);
	void __fastcall ApplyPreviewGridStyle(void);
	
protected:
	_TfrmSMIWizard__1 StepHeader;
	_TfrmSMIWizard__2 StepInfo;
	void __fastcall GetFormatExtFilter(System::UnicodeString &DefExt, System::UnicodeString &Filter);
	MESSAGE void __fastcall WMMinMaxInfo(Messages::TWMGetMinMaxInfo &Msg);
	void __fastcall ControlsToProperties(Smibase::TSMImportBaseComponent* smi);
	
public:
	bool IsCanceled;
	Db::TDataSet* Destination;
	System::UnicodeString TableName;
	TSMIWizardDlg* WizardDlg;
	Classes::TStrings* FWizMappings;
	System::UnicodeString FWizKeys;
	int FWizPreviewRowCount;
	bool FWizShowCategories;
	__property TSMIDirection Direction = {read=FDirection, nodefault};
	__property int CurStep = {read=FintCurStep, write=SetCurStep, nodefault};
public:
	/* TCustomForm.Create */ inline __fastcall virtual TfrmSMIWizard(Classes::TComponent* AOwner) : Forms::TForm(AOwner) { }
	/* TCustomForm.CreateNew */ inline __fastcall virtual TfrmSMIWizard(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(AOwner, Dummy) { }
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TfrmSMIWizard(void) { }
	
public:
	/* TWinControl.CreateParented */ inline __fastcall TfrmSMIWizard(HWND ParentWindow) : Forms::TForm(ParentWindow) { }
	
};


#pragma option push -b-
enum TSMIRestriction { irDisabled, irReadOnly, irReadWrite };
#pragma option pop

typedef Set<TSMIRestriction, irDisabled, irReadWrite>  TSMIRestrictions;

class DELPHICLASS TSMIUserAccess;
class PASCALIMPLEMENTATION TSMIUserAccess : public Classes::TPersistent
{
	typedef Classes::TPersistent inherited;
	
private:
	bool FSpecification;
	bool FSpecificationSave;
	bool FSpecificationLoad;
	bool FSpecificationDelete;
	TSMIRestriction FTableType;
	TSMIRestriction FSourceFileName;
	TSMIRestriction FFieldMapping;
	TSMIRestriction FPreviewData;
	TSMIRestriction FImportMode;
	Smibase::TImportModes FHiddenImportModes;
	TSMIRestriction FTextType;
	TSMIRestriction FFieldDelimiter;
	TSMIRestriction FTextQualifier;
	TSMIRestriction FRecordSeparator;
	TSMIRestriction FFirstRow;
	TSMIRestriction FLastRow;
	TSMIRestriction FFieldAdjustment;
	TSMIRestriction FDataFormats;
	TSMIRestriction FLoadWhen;
	TSMIRestriction FSkipIf;
	bool FUseExpressionBuilder;
	
public:
	__fastcall virtual TSMIUserAccess(Classes::TComponent* AOwner);
	
__published:
	__property bool Specification = {read=FSpecification, write=FSpecification, nodefault};
	__property bool SpecificationSave = {read=FSpecificationSave, write=FSpecificationSave, nodefault};
	__property bool SpecificationLoad = {read=FSpecificationLoad, write=FSpecificationLoad, nodefault};
	__property bool SpecificationDelete = {read=FSpecificationDelete, write=FSpecificationDelete, nodefault};
	__property TSMIRestriction TableType = {read=FTableType, write=FTableType, default=2};
	__property TSMIRestriction SourceFileName = {read=FSourceFileName, write=FSourceFileName, default=2};
	__property TSMIRestriction FieldMapping = {read=FFieldMapping, write=FFieldMapping, default=2};
	__property TSMIRestriction PreviewData = {read=FPreviewData, write=FPreviewData, default=2};
	__property TSMIRestriction ImportMode = {read=FImportMode, write=FImportMode, default=2};
	__property Smibase::TImportModes HiddenImportModes = {read=FHiddenImportModes, write=FHiddenImportModes, default=0};
	__property TSMIRestriction TextType = {read=FTextType, write=FTextType, default=2};
	__property TSMIRestriction FieldDelimiter = {read=FFieldDelimiter, write=FFieldDelimiter, default=2};
	__property TSMIRestriction TextQualifier = {read=FTextQualifier, write=FTextQualifier, default=2};
	__property TSMIRestriction RecordSeparator = {read=FRecordSeparator, write=FRecordSeparator, default=2};
	__property TSMIRestriction FirstRow = {read=FFirstRow, write=FFirstRow, default=2};
	__property TSMIRestriction LastRow = {read=FLastRow, write=FLastRow, default=2};
	__property TSMIRestriction FieldAdjustment = {read=FFieldAdjustment, write=FFieldAdjustment, default=2};
	__property TSMIRestriction DataFormats = {read=FDataFormats, write=FDataFormats, default=2};
	__property TSMIRestriction LoadWhen = {read=FLoadWhen, write=FLoadWhen, default=2};
	__property TSMIRestriction SkipIf = {read=FSkipIf, write=FSkipIf, default=2};
	__property bool UseExpressionBuilder = {read=FUseExpressionBuilder, write=FUseExpressionBuilder, default=1};
public:
	/* TPersistent.Destroy */ inline __fastcall virtual ~TSMIUserAccess(void) { }
	
};


#pragma option push -b-
enum TSMIWizardStyle { wsWindows95, wsWindows2000 };
#pragma option pop

class PASCALIMPLEMENTATION TSMIWizardDlg : public Smibase::TSMImportBaseComponent
{
	typedef Smibase::TSMImportBaseComponent inherited;
	
private:
	Classes::THelpContext FHelpContext;
	int FSheetIndex;
	TfrmSMIWizard* FfrmSMIWizard;
	TSMIUserAccess* FUserAccess;
	Graphics::TPicture* FPicture;
	bool FShowPicture;
	TSMICategories* FCategories;
	Graphics::TIcon* FIcon;
	Smibase::TImportFormatTypes FFormats;
	Controls::TCaption FTitle;
	bool FConfirmCancelExit;
	bool FConfirmExecuteStart;
	System::UnicodeString FInitialDir;
	TSMIGetSpecificationsEvent FOnGetSpecifications;
	TSMIGetSpecificationsEvent FOnGetFieldList;
	TSMICloseEvent FCloseEvent;
	TSMIWizardStyle FWizardStyle;
	bool FShowFileHeader;
	bool FSetupSpecificationOnly;
	Classes::TNotifyEvent FOnShow;
	TSMIStepChangeEvent FOnStepChange;
	Classes::TNotifyEvent FOnBeforeAutoMapping;
	int FPreviewRowCount;
	Smipst::TSMIOutlookProperties* FOutlookProperties;
	Smi2xml::TSMIXMLTags* FXMLTags;
	void __fastcall SetOutlookProperties(Smipst::TSMIOutlookProperties* Value);
	void __fastcall SetXMLTags(Smi2xml::TSMIXMLTags* Value);
	Graphics::TPicture* __fastcall GetPicture(void);
	void __fastcall SetPicture(Graphics::TPicture* Value);
	Graphics::TIcon* __fastcall GetIcon(void);
	void __fastcall SetIcon(Graphics::TIcon* Value);
	TSMICategories* __fastcall GetCategories(void);
	void __fastcall SetCategories(TSMICategories* Value);
	TSMIUserAccess* __fastcall GetUserAccess(void);
	void __fastcall SetUserAccess(TSMIUserAccess* Value);
	void __fastcall SetRestrictionToControls(void);
	void __fastcall SaveSpecClick(System::TObject* Sender, const System::UnicodeString Caption, const System::UnicodeString FileName);
	void __fastcall LoadSpecClick(System::TObject* Sender);
	
protected:
	void __fastcall PropertiesToControls(void);
	void __fastcall CreateCategories(void);
	
public:
	__fastcall virtual TSMIWizardDlg(Classes::TComponent* AOwner);
	__fastcall virtual ~TSMIWizardDlg(void);
	HIDESBASE Controls::TModalResult __fastcall Execute(void);
	void __fastcall ExecuteWithoutDialog(void);
	void __fastcall ShowSpecificationDialog(void);
	void __fastcall ControlsToProperties(void);
	virtual void __fastcall LoadSpecificationFromStrings(Classes::TStrings* lstSpec);
	virtual void __fastcall SaveSpecificationToStream(Classes::TStream* Stream, const System::UnicodeString SpecName);
	
__published:
	__property Classes::THelpContext HelpContext = {read=FHelpContext, write=FHelpContext, default=0};
	__property int SheetIndex = {read=FSheetIndex, write=FSheetIndex, default=0};
	__property Graphics::TPicture* Picture = {read=GetPicture, write=SetPicture};
	__property bool ShowPicture = {read=FShowPicture, write=FShowPicture, default=1};
	__property TSMICategories* Categories = {read=GetCategories, write=SetCategories};
	__property Graphics::TIcon* Icon = {read=GetIcon, write=SetIcon};
	__property Fixed;
	__property Smibase::TImportFormatTypes Formats = {read=FFormats, write=FFormats, nodefault};
	__property System::UnicodeString InitialDir = {read=FInitialDir, write=FInitialDir};
	__property TSMIWizardStyle WizardStyle = {read=FWizardStyle, write=FWizardStyle, default=1};
	__property bool ConfirmCancelExit = {read=FConfirmCancelExit, write=FConfirmCancelExit, default=1};
	__property bool ConfirmExecuteStart = {read=FConfirmExecuteStart, write=FConfirmExecuteStart, default=0};
	__property bool ShowFileHeader = {read=FShowFileHeader, write=FShowFileHeader, default=0};
	__property RowFirst = {default=1};
	__property RowLast = {default=2147483647};
	__property RowFieldNames = {default=1};
	__property SourceFileName;
	__property TableType = {default=2};
	__property Controls::TCaption Title = {read=FTitle, write=FTitle};
	__property TSMIUserAccess* UserAccess = {read=GetUserAccess, write=SetUserAccess};
	__property int PreviewRowCount = {read=FPreviewRowCount, write=FPreviewRowCount, default=20};
	__property FieldDelimiter = {default=2};
	__property FieldDelimiterCustom = {default=9};
	__property TextQualifier = {default=2};
	__property TextQualifierCustom = {default=34};
	__property RecordSeparator = {default=1};
	__property RecordSeparatorCustom;
	__property bool SetupSpecificationOnly = {read=FSetupSpecificationOnly, write=FSetupSpecificationOnly, default=0};
	__property Smipst::TSMIOutlookProperties* OutlookProperties = {read=FOutlookProperties, write=SetOutlookProperties};
	__property Smi2xml::TSMIXMLTags* XMLTags = {read=FXMLTags, write=SetXMLTags};
	__property TSMIGetSpecificationsEvent OnGetSpecifications = {read=FOnGetSpecifications, write=FOnGetSpecifications};
	__property TSMIGetSpecificationsEvent OnGetFieldList = {read=FOnGetFieldList, write=FOnGetFieldList};
	__property TSMICloseEvent OnClose = {read=FCloseEvent, write=FCloseEvent};
	__property Classes::TNotifyEvent OnShow = {read=FOnShow, write=FOnShow};
	__property TSMIStepChangeEvent OnStepChange = {read=FOnStepChange, write=FOnStepChange};
	__property Classes::TNotifyEvent OnBeforeAutoMapping = {read=FOnBeforeAutoMapping, write=FOnBeforeAutoMapping};
};


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

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

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