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

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

#ifndef Xlsrow5HPP
#define Xlsrow5HPP

#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 <System.Contnrs.hpp>	// Pascal unit
#include <Xc12Utils5.hpp>	// Pascal unit
#include <Xc12Common5.hpp>	// Pascal unit
#include <Xc12DataStyleSheet5.hpp>	// Pascal unit
#include <Xc12Manager5.hpp>	// Pascal unit
#include <XLSUtils5.hpp>	// Pascal unit
#include <XLSMMU5.hpp>	// Pascal unit
#include <XLSCellMMU5.hpp>	// Pascal unit
#include <XLSFormattedObj5.hpp>	// Pascal unit

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

namespace Xlsrow5
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TXLSRow;
class DELPHICLASS TXLSRows;
#pragma pack(push,4)
class PASCALIMPLEMENTATION TXLSRow : public Xlsformattedobj5::TXLSFormattedObj
{
	typedef Xlsformattedobj5::TXLSFormattedObj inherited;
	
private:
	int __fastcall GetOutlineLevel(void);
	void __fastcall SetOutlineLevel(const int Value);
	bool __fastcall GetCollapsedOutline(void);
	void __fastcall SetCollapsedOutline(const bool Value);
	int __fastcall GetPixelHeight(void);
	void __fastcall SetPixelHeight(const int Value);
	double __fastcall GetHeightPt(void);
	void __fastcall SetHeightPt(const double Value);
	bool __fastcall GetCustomHeight(void);
	
protected:
	TXLSRows* FOwner;
	int FIndex;
	Xlscellmmu5::TXLSMMURowHeader *FRowItem;
	void __fastcall SetHeight(int AValue);
	int __fastcall GetHeight(void);
	void __fastcall SetHidden(bool AValue);
	bool __fastcall GetHidden(void);
	int __fastcall DefaultHeight(void);
	void __fastcall Changed(int AIndex);
	virtual void __fastcall StyleChanged(void);
	
public:
	__fastcall TXLSRow(TXLSRows* AOwner);
	__fastcall virtual ~TXLSRow(void);
	bool __fastcall Assigned(void);
	__property int Height = {read=GetHeight, write=SetHeight, nodefault};
	__property double HeightPt = {read=GetHeightPt, write=SetHeightPt};
	__property int PixelHeight = {read=GetPixelHeight, write=SetPixelHeight, nodefault};
	__property bool Hidden = {read=GetHidden, write=SetHidden, nodefault};
	__property int OutlineLevel = {read=GetOutlineLevel, write=SetOutlineLevel, nodefault};
	__property bool CollapsedOutline = {read=GetCollapsedOutline, write=SetCollapsedOutline, nodefault};
	__property bool CustomHeight = {read=GetCustomHeight, nodefault};
};

#pragma pack(pop)

#pragma pack(push,4)
class PASCALIMPLEMENTATION TXLSRows : public System::TObject
{
	typedef System::TObject inherited;
	
public:
	TXLSRow* operator[](int Index) { return Items[Index]; }
	
protected:
	Xc12datastylesheet5::TXc12DataStyleSheet* FStyles;
	TXLSRow* FTheRow;
	Xlscellmmu5::TXLSCellMMU* FCells;
	bool FApplyStyleOnCells;
	int FLastVisibleRow;
	TXLSRow* __fastcall GetItems(int Index);
	
public:
	__fastcall TXLSRows(Xlscellmmu5::TXLSCellMMU* ACells, Xc12datastylesheet5::TXc12DataStyleSheet* AStyles);
	__fastcall virtual ~TXLSRows(void);
	void __fastcall Clear(void);
	void __fastcall ToggleGrouped(int ARow);
	void __fastcall ToggleGroupedAll(int ALevel);
	int __fastcall DefaultPixelHeight(void);
	int __fastcall CalcLastVisibleRow(void);
	__property bool ApplyStyleOnCells = {read=FApplyStyleOnCells, write=FApplyStyleOnCells, nodefault};
	__property TXLSRow* Items[int Index] = {read=GetItems/*, default*/};
};

#pragma pack(pop)

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

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