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

// (DO NOT EDIT: machine generated header) 'SMIOO.pas' rev: 24.00 (Win32)

#ifndef SmiooHPP
#define SmiooHPP

#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 <Winapi.Windows.hpp>	// Pascal unit
#include <SMCells.hpp>	// Pascal unit
#include <Vcl.Graphics.hpp>	// Pascal unit
#include <System.SysUtils.hpp>	// Pascal unit
#include <SMI_Sum.hpp>	// Pascal unit
#include <SMIUtils.hpp>	// Pascal unit
#include <System.UITypes.hpp>	// Pascal unit
#include <System.Types.hpp>	// Pascal unit

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

namespace Smioo
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TSMIOOStyle;
#pragma pack(push,4)
class PASCALIMPLEMENTATION TSMIOOStyle : public System::Classes::TPersistent
{
	typedef System::Classes::TPersistent inherited;
	
private:
	System::UnicodeString FStyleName;
	System::UnicodeString FStyleFamily;
	TSMIOOStyle* FStyleParent;
	
public:
	__fastcall virtual TSMIOOStyle(System::Classes::TComponent* AOwner);
	
__published:
	__property System::UnicodeString StyleFamily = {read=FStyleFamily, write=FStyleFamily};
	__property System::UnicodeString StyleName = {read=FStyleName, write=FStyleName};
	__property TSMIOOStyle* StyleParent = {read=FStyleParent, write=FStyleParent};
public:
	/* TPersistent.Destroy */ inline __fastcall virtual ~TSMIOOStyle(void) { }
	
};

#pragma pack(pop)

class DELPHICLASS TSMIOOStyleText;
#pragma pack(push,4)
class PASCALIMPLEMENTATION TSMIOOStyleText : public TSMIOOStyle
{
	typedef TSMIOOStyle inherited;
	
private:
	Vcl::Graphics::TFont* FTextFont;
	System::Uitypes::TColor FColor;
	System::Classes::TAlignment FAlignment;
	void __fastcall SetTextFont(Vcl::Graphics::TFont* Value);
	
public:
	__fastcall virtual TSMIOOStyleText(System::Classes::TComponent* AOwner);
	__fastcall virtual ~TSMIOOStyleText(void);
	
__published:
	__property Vcl::Graphics::TFont* TextFont = {read=FTextFont, write=SetTextFont};
	__property System::Classes::TAlignment Alignment = {read=FAlignment, write=FAlignment, default=0};
	__property System::Uitypes::TColor Color = {read=FColor, write=FColor, default=16777215};
};

#pragma pack(pop)

class DELPHICLASS TSMIOOStyleGraphic;
#pragma pack(push,4)
class PASCALIMPLEMENTATION TSMIOOStyleGraphic : public TSMIOOStyle
{
	typedef TSMIOOStyle inherited;
	
private:
	System::Types::TRect FClipRect;
	
public:
	__property System::Types::TRect ClipRect = {read=FClipRect, write=FClipRect};
public:
	/* TSMIOOStyle.Create */ inline __fastcall virtual TSMIOOStyleGraphic(System::Classes::TComponent* AOwner) : TSMIOOStyle(AOwner) { }
	
public:
	/* TPersistent.Destroy */ inline __fastcall virtual ~TSMIOOStyleGraphic(void) { }
	
};

#pragma pack(pop)

class DELPHICLASS TSMIOOStyleNumList;
#pragma pack(push,4)
class PASCALIMPLEMENTATION TSMIOOStyleNumList : public TSMIOOStyle
{
	typedef TSMIOOStyle inherited;
	
private:
	System::UnicodeString FNumPrefix;
	System::UnicodeString FNumSufix;
	System::UnicodeString FNumFormat;
	int FSpaceBefore;
	System::UnicodeString FBulletChar;
	
public:
	__fastcall virtual TSMIOOStyleNumList(System::Classes::TComponent* AOwner);
	
__published:
	__property System::UnicodeString NumPrefix = {read=FNumPrefix, write=FNumPrefix};
	__property System::UnicodeString NumSufix = {read=FNumSufix, write=FNumSufix};
	__property System::UnicodeString NumFormat = {read=FNumFormat, write=FNumFormat};
	__property int SpaceBefore = {read=FSpaceBefore, write=FSpaceBefore, nodefault};
	__property System::UnicodeString BulletChar = {read=FBulletChar, write=FBulletChar};
public:
	/* TPersistent.Destroy */ inline __fastcall virtual ~TSMIOOStyleNumList(void) { }
	
};

#pragma pack(pop)

class DELPHICLASS TSMIOOStyles;
#pragma pack(push,4)
class PASCALIMPLEMENTATION TSMIOOStyles : public System::Classes::TList
{
	typedef System::Classes::TList inherited;
	
public:
	__fastcall virtual ~TSMIOOStyles(void);
	void __fastcall ClearStyles(void);
	TSMIOOStyle* __fastcall GetStyle(int AIndex);
	TSMIOOStyle* __fastcall FindByStyleName(const System::UnicodeString AStyleName);
public:
	/* TObject.Create */ inline __fastcall TSMIOOStyles(void) : System::Classes::TList() { }
	
};

#pragma pack(pop)

class DELPHICLASS TSMIOpenOfficeSpreadsheet;
class PASCALIMPLEMENTATION TSMIOpenOfficeSpreadsheet : public Smcells::TSpreadSheetFile
{
	typedef Smcells::TSpreadSheetFile inherited;
	
private:
	int FSheetIndex;
	Smi_sum::TSMISummaryInformation* FSummaryInformation;
	TSMIOOStyles* FStyles;
	void __fastcall SetSummaryInformation(Smi_sum::TSMISummaryInformation* Value);
	
protected:
	System::UnicodeString FXMLTagRoot;
	System::UnicodeString FXMLTagText;
	virtual void __fastcall ApplyEvents(void);
	
public:
	__fastcall virtual TSMIOpenOfficeSpreadsheet(System::Classes::TComponent* AOwner);
	__fastcall virtual ~TSMIOpenOfficeSpreadsheet(void);
	virtual void __fastcall LoadFromStream(System::Classes::TStream* Stream);
	virtual void __fastcall LoadFromFile(const System::WideString AFileName);
	__property TSMIOOStyles* Styles = {read=FStyles};
	
__published:
	__property Smi_sum::TSMISummaryInformation* SummaryInformation = {read=FSummaryInformation, write=SetSummaryInformation};
	__property int SheetIndex = {read=FSheetIndex, write=FSheetIndex, nodefault};
};


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

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