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

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

#ifndef SmiooHPP
#define SmiooHPP

#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 <Classes.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Smcells.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Sysutils.hpp>	// Pascal unit
#include <Smi_sum.hpp>	// Pascal unit
#include <Smiutils.hpp>	// Pascal unit
#include <Types.hpp>	// Pascal unit

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

namespace Smioo
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TSMIOOStyle;
class PASCALIMPLEMENTATION TSMIOOStyle : public Classes::TPersistent
{
	typedef Classes::TPersistent inherited;
	
private:
	System::UnicodeString FStyleName;
	System::UnicodeString FStyleFamily;
	TSMIOOStyle* FStyleParent;
	
public:
	__fastcall virtual TSMIOOStyle(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) { }
	
};


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


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


class DELPHICLASS TSMIOOStyleNumList;
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(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) { }
	
};


class DELPHICLASS TSMIOOStyles;
class PASCALIMPLEMENTATION TSMIOOStyles : public Classes::TList
{
	typedef 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) : Classes::TList() { }
	
};


class DELPHICLASS TSMIOpenOfficeSpreadsheet;
class PASCALIMPLEMENTATION TSMIOpenOfficeSpreadsheet : public Smcells::TSpreadSheetFile
{
	typedef Smcells::TSpreadSheetFile inherited;
	
private:
	int FSheetIndex;
	bool FParsePictures;
	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(Classes::TComponent* AOwner);
	__fastcall virtual ~TSMIOpenOfficeSpreadsheet(void);
	virtual void __fastcall LoadFromStream(Classes::TStream* Stream);
	virtual void __fastcall LoadFromFile(const System::WideString AFileName);
	__property TSMIOOStyles* Styles = {read=FStyles};
	__property bool ParsePictures = {read=FParsePictures, write=FParsePictures, default=0};
	
__published:
	__property Smi_sum::TSMISummaryInformation* SummaryInformation = {read=FSummaryInformation, write=SetSummaryInformation};
	__property int SheetIndex = {read=FSheetIndex, write=FSheetIndex, nodefault};
};


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

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

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