⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tmsuxlssheet.hpp

📁 TMS Component Pack V5.0包含了超过 280 个为 Delphi 以及 C++Builder 设计的 TMS 生产控件
💻 HPP
📖 第 1 页 / 共 2 页
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved

// (DO NOT EDIT: machine generated header) 'Tmsuxlssheet.pas' rev: 10.00

#ifndef TmsuxlssheetHPP
#define TmsuxlssheetHPP

#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 <Sysutils.hpp>	// Pascal unit
#include <Tmsuxlsbaserecords.hpp>	// Pascal unit
#include <Tmsuxlsbaserecordlists.hpp>	// Pascal unit
#include <Tmsuxlsotherrecords.hpp>	// Pascal unit
#include <Tmsuxlschart.hpp>	// Pascal unit
#include <Tmsuxlssst.hpp>	// Pascal unit
#include <Tmsxlsmessages.hpp>	// Pascal unit
#include <Tmsuxlssections.hpp>	// Pascal unit
#include <Tmsuxlscondfmt.hpp>	// Pascal unit
#include <Tmsuxlsrowcolentries.hpp>	// Pascal unit
#include <Tmsuxlsescher.hpp>	// Pascal unit
#include <Tmsuxlsrangerecords.hpp>	// Pascal unit
#include <Tmsuescherrecords.hpp>	// Pascal unit
#include <Tmsuxlsworkbookglobals.hpp>	// Pascal unit
#include <Tmsuxlsnotes.hpp>	// Pascal unit
#include <Tmsuxlsbaselist.hpp>	// Pascal unit
#include <Tmsuflxmessages.hpp>	// Pascal unit
#include <Tmsuxlscellrecords.hpp>	// Pascal unit
#include <Tmsuxlsformula.hpp>	// Pascal unit
#include <Tmsuxlspagebreaks.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Types.hpp>	// Pascal unit
#include <Tmsuxlscolinfo.hpp>	// Pascal unit
#include <Tmsuxlshyperlink.hpp>	// Pascal unit
#include <Tmsuole2impl.hpp>	// Pascal unit
#include <Contnrs.hpp>	// Pascal unit

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

namespace Tmsuxlssheet
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TSheet;
class PASCALIMPLEMENTATION TSheet : public Tmsuxlssections::TBaseSection 
{
	typedef Tmsuxlssections::TBaseSection inherited;
	
private:
	bool __fastcall GetShowGridLines(void);
	void __fastcall SetShowGridLines(const bool Value);
	bool __fastcall GetShowGridHeaders(void);
	void __fastcall SetShowGridHeaders(const bool Value);
	bool __fastcall GetPrintGridLines(void);
	void __fastcall SetPrintGridLines(const bool Value);
	WideString __fastcall GetPageFooter();
	WideString __fastcall GetPageHeader();
	void __fastcall SetPageFooter(const WideString Value);
	void __fastcall SetPageHeader(const WideString Value);
	Tmsuflxmessages::TXlsMargins __fastcall GetMargins();
	void __fastcall SetMargins(const Tmsuflxmessages::TXlsMargins &Value);
	void __fastcall AddMargin(Tmsuxlsbaserecords::TMarginRecord* &Margin, const int aId, const Extended Value);
	int __fastcall GetSheetZoom(void);
	void __fastcall SetSheetZoom(const int Value);
	WideString __fastcall GetCodeName();
	void __fastcall SetCodeName(const WideString Value);
	bool __fastcall GetIsR1C1(void);
	void __fastcall SetIsR1C1(const bool Value);
	bool __fastcall GetWindow2Frozen(void);
	void __fastcall SetWindow2Frozen(const bool value);
	
protected:
	Tmsuxlsworkbookglobals::TWorkbookGlobals* FWorkbookGlobals;
	Tmsuxlsbaserecords::TWindow2Record* FWindow2;
	Tmsuxlsbaserecords::TPageHeaderRecord* FPageHeader;
	Tmsuxlsbaserecords::TPageFooterRecord* FPageFooter;
	Tmsuxlsbaserecords::TPrintGridLinesRecord* FPrintGridLines;
	Tmsuxlsbaserecords::TMarginRecord* FLeftMargin;
	Tmsuxlsbaserecords::TMarginRecord* FRightMargin;
	Tmsuxlsbaserecords::TMarginRecord* FTopMargin;
	Tmsuxlsbaserecords::TMarginRecord* FBottomMargin;
	Tmsuxlsbaserecords::TSetupRecord* FSetup;
	Tmsuxlsbaserecords::TPlsRecord* FPrinterDriverSettings;
	Tmsuxlsbaserecords::TWsBoolRecord* FWSBool;
	Tmsuxlsbaserecords::TPrintCenteredRecord* FHCenter;
	Tmsuxlsbaserecords::TPrintCenteredRecord* FVCenter;
	Tmsuxlsbaserecords::TSCLRecord* FZoom;
	Tmsuxlsotherrecords::TGutsRecord* FGuts;
	Tmsuxlsotherrecords::TPaneRecord* FPane;
	Tmsuxlsbaserecords::TAutoFilterInfoRecord* FAutoFilterInfo;
	Tmsuxlsbaserecords::TRefModeRecord* FRefMode;
	Tmsuxlsbaserecordlists::TBaseRecordList* FPrintRecords;
	Tmsuxlsotherrecords::TCodeNameRecord* FCodeName;
	void __fastcall LoadCachePointers(const Tmsuxlsbaserecords::TBaseRecord* R);
	virtual void __fastcall FixCachePointers(void);
	bool __fastcall GetSelected(void);
	void __fastcall SetSelected(const bool Value);
	virtual void __fastcall SetPageHeaderFooter(const Tmsuxlsbaserecords::TPageHeaderFooterRecord* P, const WideString s) = 0 ;
	virtual void __fastcall AddZoomRecord(void) = 0 ;
	virtual void __fastcall AddOrRemovePane(const bool Add);
	__property bool Window2Frozen = {read=GetWindow2Frozen, write=SetWindow2Frozen, nodefault};
	
public:
	#pragma pack(push,1)
	Tmsuxlsbaserecords::TDimensionsRec OriginalDimensions;
	#pragma pack(pop)
	TSheet* __fastcall CopyTo(void);
	virtual TSheet* __fastcall DoCopyTo(void);
	virtual void __fastcall InsertAndCopyRowsAndCols(const int FirstRow, const int LastRow, const int DestRow, const int aRowCount, const int FirstCol, const int LastCol, const int DestCol, const int aColCount, const Tmsxlsmessages::TSheetInfo &SheetInfo, const bool OnlyFormulas) = 0 ;
	virtual void __fastcall DeleteRowsAndCols(const Word aRow, const Word aRowCount, const Word aCol, const Word aColCount, const Tmsxlsmessages::TSheetInfo &SheetInfo) = 0 ;
	virtual void __fastcall ArrangeInsertRowsAndCols(const int InsRowPos, const int InsRowCount, const int InsColPos, const int InsColCount, const Tmsxlsmessages::TSheetInfo &SheetInfo) = 0 ;
	virtual void __fastcall ArrangeCopySheet(const Tmsxlsmessages::TSheetInfo &SheetInfo);
	virtual void __fastcall Clear(void);
	virtual void __fastcall DeleteHPageBreak(const Word aRow);
	virtual void __fastcall DeleteVPageBreak(const Word aCol);
	virtual void __fastcall InsertHPageBreak(const Word aRow);
	virtual void __fastcall InsertVPageBreak(const Word aCol);
	__fastcall virtual TSheet(const Tmsuxlsworkbookglobals::TWorkbookGlobals* aWorkbookGlobals);
	__property bool Selected = {read=GetSelected, write=SetSelected, nodefault};
	__property bool ShowGridLines = {read=GetShowGridLines, write=SetShowGridLines, nodefault};
	__property bool ShowGridHeaders = {read=GetShowGridHeaders, write=SetShowGridHeaders, nodefault};
	__property bool PrintGridLines = {read=GetPrintGridLines, write=SetPrintGridLines, nodefault};
	__property WideString PageHeader = {read=GetPageHeader, write=SetPageHeader};
	__property WideString PageFooter = {read=GetPageFooter, write=SetPageFooter};
	__property Tmsuflxmessages::TXlsMargins Margins = {read=GetMargins, write=SetMargins};
	__property int SheetZoom = {read=GetSheetZoom, write=SetSheetZoom, nodefault};
	__property bool IsR1C1 = {read=GetIsR1C1, write=SetIsR1C1, nodefault};
	void __fastcall FreezePanes(const int row, const int col);
	void __fastcall GetFrozenPanes(/* out */ int &row, /* out */ int &col);
	void __fastcall GetSplitWindow(/* out */ int &xOffset, /* out */ int &yOffset);
	void __fastcall SplitWindow(const int xOffset, const int yOffset);
	__property WideString CodeName = {read=GetCodeName, write=SetCodeName};
	virtual __int64 __fastcall TotalSize(void);
	__int64 __fastcall FixTotalSize(const bool NeedsRecalc);
	virtual __int64 __fastcall TotalRangeSize(const int SheetIndex, const Tmsuflxmessages::TXlsCellRange &CellRange);
	virtual void __fastcall RestoreObjectCoords(void);
	virtual void __fastcall FixRows(void);
public:
	#pragma option push -w-inl
	/* TBaseSection.Destroy */ inline __fastcall virtual ~TSheet(void) { }
	#pragma option pop
	
};


typedef TMetaClass* ClassOfTSheet;

class DELPHICLASS TFlxChart;
class PASCALIMPLEMENTATION TFlxChart : public TSheet 
{
	typedef TSheet inherited;
	
private:
	Tmsuxlschart::TChartRecordList* FChartRecords;
	void __fastcall LoadSubChart(const Tmsuole2impl::TOle2File* DataStream, Tmsxlsmessages::TRecordHeader &RecordHeader, const Tmsuxlssst::TSST* SST, const int Level);
	
protected:
	virtual void __fastcall SetPageHeaderFooter(const Tmsuxlsbaserecords::TPageHeaderFooterRecord* P, const WideString s);
	virtual void __fastcall AddZoomRecord(void);
	virtual void __fastcall FixCachePointers(void);
	
public:
	Tmsuxlsbaserecords::TBaseRecord* RemainingData;
	__fastcall virtual TFlxChart(const Tmsuxlsworkbookglobals::TWorkbookGlobals* aWorkbookGlobals);
	__fastcall virtual ~TFlxChart(void);
	virtual TSheet* __fastcall DoCopyTo(void);
	virtual __int64 __fastcall TotalSize(void);
	virtual __int64 __fastcall TotalRangeSize(const int SheetIndex, const Tmsuflxmessages::TXlsCellRange &CellRange);
	virtual void __fastcall LoadFromStream(const Tmsuole2impl::TOle2File* DataStream, Tmsxlsmessages::TRecordHeader &RecordHeader, const Tmsuxlsotherrecords::TBOFRecord* First, const Tmsuxlssst::TSST* SST);
	virtual void __fastcall SaveToStream(const Tmsuole2impl::TOle2File* DataStream);
	virtual void __fastcall SaveRangeToStream(const Tmsuole2impl::TOle2File* DataStream, const int SheetIndex, const Tmsuflxmessages::TXlsCellRange &CellRange);
	virtual void __fastcall Clear(void);
	void __fastcall ArrangeCopyRowsAndCols(const int RowOffset, const int ColOffset);
	virtual void __fastcall ArrangeCopySheet(const Tmsxlsmessages::TSheetInfo &SheetInfo);
	virtual void __fastcall ArrangeInsertRowsAndCols(const int InsRowPos, const int InsRowCount, const int InsColPos, const int InsColCount, const Tmsxlsmessages::TSheetInfo &SheetInfo);
	virtual void __fastcall InsertAndCopyRowsAndCols(const int FirstRow, const int LastRow, const int DestRow, const int aRowCount, const int FirstCol, const int LastCol, const int DestCol, const int aColCount, const Tmsxlsmessages::TSheetInfo &SheetInfo, const bool OnlyFormulas);
	virtual void __fastcall DeleteRowsAndCols(const Word aRow, const Word aRowCount, const Word aCol, const Word aColCount, const Tmsxlsmessages::TSheetInfo &SheetInfo);
};


class DELPHICLASS TSheetRecordList;
class PASCALIMPLEMENTATION TSheetRecordList : public Tmsuxlsbaserecordlists::TBaseRecordList 
{
	typedef Tmsuxlsbaserecordlists::TBaseRecordList inherited;
	
public:
	#pragma option push -w-inl
	/* TObjectList.Create */ inline __fastcall TSheetRecordList(void)/* overload */ : Tmsuxlsbaserecordlists::TBaseRecordList() { }
	#pragma option pop
	
public:
	#pragma option push -w-inl
	/* TList.Destroy */ inline __fastcall virtual ~TSheetRecordList(void) { }
	#pragma option pop
	
};


class DELPHICLASS TChartList;
class PASCALIMPLEMENTATION TChartList : public Tmsuxlsbaselist::TBaseList 
{
	typedef Tmsuxlsbaselist::TBaseList inherited;
	
public:
	TFlxChart* operator[](int index) { return Items[index]; }
	
private:
	TFlxChart* __fastcall GetItems(int index);
	void __fastcall SetItems(int index, const TFlxChart* Value);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -