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

// (DO NOT EDIT: machine generated header) 'AsgHTML.pas' rev: 4.00

#ifndef AsgHTMLHPP
#define AsgHTMLHPP

#pragma delphiheader begin
#pragma option push -w-
#include <Mask.hpp>	// Pascal unit
#include <ShellAPI.hpp>	// Pascal unit
#include <Buttons.hpp>	// Pascal unit
#include <AdvGrid.hpp>	// Pascal unit
#include <AdvSpin.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

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

namespace Asghtml
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TAdvGridHTMLSettingsForm;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TAdvGridHTMLSettingsForm : public Forms::TForm 
{
	typedef Forms::TForm inherited;
	
__published:
	Stdctrls::TGroupBox* CellsGroupBox;
	Stdctrls::TLabel* BorderSizeLabel;
	Stdctrls::TLabel* CellSpacingLabel;
	Stdctrls::TGroupBox* TagsGroupBox;
	Stdctrls::TLabel* PrefixLabel;
	Stdctrls::TLabel* SuffixLabel;
	Stdctrls::TLabel* TableStyleLabel;
	Stdctrls::TGroupBox* FilesGroupBox;
	Stdctrls::TLabel* HeaderLabel;
	Stdctrls::TLabel* FooterLabel;
	Stdctrls::TGroupBox* GeneralGroupBox;
	Stdctrls::TCheckBox* TableColorsCheckBox;
	Stdctrls::TCheckBox* TableFontsCheckBox;
	Stdctrls::TLabel* TableWidthLabel;
	Advspin::TAdvSpinEdit* BorderSizeSpinEdit;
	Advspin::TAdvSpinEdit* CellSpacingSpinEdit;
	Stdctrls::TEdit* PrefixEdit;
	Stdctrls::TEdit* SuffixEdit;
	Stdctrls::TEdit* TableStyleEdit;
	Stdctrls::TEdit* HeaderEdit;
	Stdctrls::TEdit* FooterEdit;
	Stdctrls::TButton* HeaderButton;
	Stdctrls::TButton* FooterButton;
	Advspin::TAdvSpinEdit* TableWidthSpinEdit;
	Buttons::TBitBtn* OKButton;
	Buttons::TBitBtn* CancelButton;
	Dialogs::TOpenDialog* OpenDialog;
	Stdctrls::TButton* Preview;
	Stdctrls::TLabel* Label1;
	Advspin::TAdvSpinEdit* CellPaddingSpinEdit;
	void __fastcall UpdateControls(void);
	void __fastcall UpdateSettings(void);
	void __fastcall HeaderButtonClick(System::TObject* Sender);
	void __fastcall PreviewClick(System::TObject* Sender);
	
public:
	Advgrid::TAdvStringGrid* Grid;
	void __fastcall EnableGroupBox(Stdctrls::TGroupBox* AGroupBox, bool Enable);
public:
	#pragma option push -w-inl
	/* TCustomForm.Create */ inline __fastcall virtual TAdvGridHTMLSettingsForm(Classes::TComponent* AOwner
		) : Forms::TForm(AOwner) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.CreateNew */ inline __fastcall virtual TAdvGridHTMLSettingsForm(Classes::TComponent* 
		AOwner, int Dummy) : Forms::TForm(AOwner, Dummy) { }
	#pragma option pop
	#pragma option push -w-inl
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TAdvGridHTMLSettingsForm(void) { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TWinControl.CreateParented */ inline __fastcall TAdvGridHTMLSettingsForm(HWND ParentWindow) : Forms::TForm(
		ParentWindow) { }
	#pragma option pop
	
};

#pragma pack(pop)

#pragma option push -b-
enum TAdvGridHTMLOption { hoGeneral, hoCells, hoTags, hoFiles };
#pragma option pop

typedef Set<TAdvGridHTMLOption, hoGeneral, hoFiles>  TAdvGridHTMLOptions;

class DELPHICLASS TAdvGridHTMLSettingsDialog;
#pragma pack(push, 4)
class PASCALIMPLEMENTATION TAdvGridHTMLSettingsDialog : public Dialogs::TCommonDialog 
{
	typedef Dialogs::TCommonDialog inherited;
	
private:
	Advgrid::TAdvStringGrid* FGrid;
	TAdvGridHTMLSettingsForm* FForm;
	TAdvGridHTMLOptions FOptions;
	
protected:
	void __fastcall EnableGroupBoxes(void);
	virtual void __fastcall Notification(Classes::TComponent* AComponent, Classes::TOperation AOperation
		);
	
public:
	__fastcall virtual TAdvGridHTMLSettingsDialog(Classes::TComponent* AOwner);
	virtual bool __fastcall Execute(void);
	__property TAdvGridHTMLSettingsForm* Form = {read=FForm};
	
__published:
	__property Advgrid::TAdvStringGrid* Grid = {read=FGrid, write=FGrid};
	__property TAdvGridHTMLOptions Options = {read=FOptions, write=FOptions, nodefault};
public:
	#pragma option push -w-inl
	/* TCommonDialog.Destroy */ inline __fastcall virtual ~TAdvGridHTMLSettingsDialog(void) { }
	#pragma option pop
	
};

#pragma pack(pop)

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

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

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