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

// (DO NOT EDIT: machine generated header) 'XBookOptions2.pas' rev: 28.00 (Windows)

#ifndef Xbookoptions2HPP
#define Xbookoptions2HPP

#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 <XLSUtils5.hpp>	// Pascal unit
#include <XLSReadWriteII5.hpp>	// Pascal unit

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

namespace Xbookoptions2
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TXLSBookOptionsView;
#pragma pack(push,4)
class PASCALIMPLEMENTATION TXLSBookOptionsView : public System::Classes::TPersistent
{
	typedef System::Classes::TPersistent inherited;
	
private:
	Xlsreadwriteii5::TXLSReadWriteII5* FXLS;
	bool FRowsColumns;
	bool FGridlines;
	bool FHorizontalScroll;
	bool FVerticalScroll;
	void __fastcall SetRowsColumns(const bool Value);
	void __fastcall SetGridlines(const bool Value);
	void __fastcall SetHorizontalScroll(const bool Value);
	void __fastcall SetVerticalScroll(const bool Value);
	bool __fastcall GetGridlines(void);
	bool __fastcall GetHorizontalScroll(void);
	bool __fastcall GetRowsColumns(void);
	bool __fastcall GetVerticalScroll(void);
	
public:
	__fastcall TXLSBookOptionsView(Xlsreadwriteii5::TXLSReadWriteII5* XLS);
	__fastcall virtual ~TXLSBookOptionsView(void);
	
__published:
	__property bool RowsColumns = {read=GetRowsColumns, write=SetRowsColumns, nodefault};
	__property bool Gridlines = {read=GetGridlines, write=SetGridlines, nodefault};
	__property bool HorizontalScroll = {read=GetHorizontalScroll, write=SetHorizontalScroll, nodefault};
	__property bool VerticalScroll = {read=GetVerticalScroll, write=SetVerticalScroll, nodefault};
};

#pragma pack(pop)

class DELPHICLASS TXLSBookOptionsGeneral;
#pragma pack(push,4)
class PASCALIMPLEMENTATION TXLSBookOptionsGeneral : public System::Classes::TPersistent
{
	typedef System::Classes::TPersistent inherited;
	
private:
	Xlsreadwriteii5::TXLSReadWriteII5* FXLS;
	void __fastcall SetFontName(const System::UnicodeString Value);
	void __fastcall SetFontSize(const double Value);
	System::UnicodeString __fastcall GetFontName(void);
	double __fastcall GetFontSize(void);
	
public:
	__fastcall TXLSBookOptionsGeneral(Xlsreadwriteii5::TXLSReadWriteII5* AXLS);
	
__published:
	__property System::UnicodeString FontName = {read=GetFontName, write=SetFontName};
	__property double FontSize = {read=GetFontSize, write=SetFontSize};
public:
	/* TPersistent.Destroy */ inline __fastcall virtual ~TXLSBookOptionsGeneral(void) { }
	
};

#pragma pack(pop)

class DELPHICLASS TXLSBookOptions;
#pragma pack(push,4)
class PASCALIMPLEMENTATION TXLSBookOptions : public System::Classes::TPersistent
{
	typedef System::Classes::TPersistent inherited;
	
private:
	TXLSBookOptionsGeneral* FGeneral;
	TXLSBookOptionsView* FView;
	bool FReadOnly;
	
public:
	__fastcall TXLSBookOptions(Xlsreadwriteii5::TXLSReadWriteII5* XLS);
	__fastcall virtual ~TXLSBookOptions(void);
	
__published:
	__property TXLSBookOptionsGeneral* General = {read=FGeneral, write=FGeneral};
	__property TXLSBookOptionsView* View = {read=FView, write=FView};
	__property bool ReadOnly = {read=FReadOnly, write=FReadOnly, nodefault};
};

#pragma pack(pop)

//-- var, const, procedure ---------------------------------------------------
}	/* namespace Xbookoptions2 */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_XBOOKOPTIONS2)
using namespace Xbookoptions2;
#endif
#pragma pack(pop)
#pragma option pop

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