uxlssheet.hpp
来自「TMSPack基本上涵盖了Delphi所有的基础控件」· HPP 代码 · 共 410 行 · 第 1/2 页
HPP
410 行
// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'Uxlssheet.pas' rev: 10.00
#ifndef UxlssheetHPP
#define UxlssheetHPP
#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 <Uxlsbaserecords.hpp> // Pascal unit
#include <Uxlsbaserecordlists.hpp> // Pascal unit
#include <Uxlsotherrecords.hpp> // Pascal unit
#include <Uxlschart.hpp> // Pascal unit
#include <Uxlssst.hpp> // Pascal unit
#include <Xlsmessages.hpp> // Pascal unit
#include <Uxlssections.hpp> // Pascal unit
#include <Uxlscondfmt.hpp> // Pascal unit
#include <Uxlsrowcolentries.hpp> // Pascal unit
#include <Uxlsescher.hpp> // Pascal unit
#include <Uxlsrangerecords.hpp> // Pascal unit
#include <Uescherrecords.hpp> // Pascal unit
#include <Uxlsworkbookglobals.hpp> // Pascal unit
#include <Uxlsnotes.hpp> // Pascal unit
#include <Uxlsbaselist.hpp> // Pascal unit
#include <Uflxmessages.hpp> // Pascal unit
#include <Uxlscellrecords.hpp> // Pascal unit
#include <Uxlsformula.hpp> // Pascal unit
#include <Uxlspagebreaks.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <Types.hpp> // Pascal unit
#include <Uxlscolinfo.hpp> // Pascal unit
#include <Uxlshyperlink.hpp> // Pascal unit
#include <Contnrs.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Uxlssheet
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TSheet;
class PASCALIMPLEMENTATION TSheet : public Uxlssections::TBaseSection
{
typedef Uxlssections::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);
Uflxmessages::TXlsMargins __fastcall GetMargins();
void __fastcall SetMargins(const Uflxmessages::TXlsMargins &Value);
void __fastcall AddMargin(Uxlsbaserecords::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:
Uxlsworkbookglobals::TWorkbookGlobals* FWorkbookGlobals;
Uxlsbaserecords::TWindow2Record* FWindow2;
Uxlsbaserecords::TPageHeaderRecord* FPageHeader;
Uxlsbaserecords::TPageFooterRecord* FPageFooter;
Uxlsbaserecords::TPrintGridLinesRecord* FPrintGridLines;
Uxlsbaserecords::TMarginRecord* FLeftMargin;
Uxlsbaserecords::TMarginRecord* FRightMargin;
Uxlsbaserecords::TMarginRecord* FTopMargin;
Uxlsbaserecords::TMarginRecord* FBottomMargin;
Uxlsbaserecords::TSetupRecord* FSetup;
Uxlsbaserecords::TPlsRecord* FPrinterDriverSettings;
Uxlsbaserecords::TWsBoolRecord* FWSBool;
Uxlsbaserecords::TSCLRecord* FZoom;
Uxlsotherrecords::TGutsRecord* FGuts;
Uxlsotherrecords::TPaneRecord* FPane;
Uxlsbaserecords::TRefModeRecord* FRefMode;
Uxlsbaserecordlists::TBaseRecordList* FPrintRecords;
Uxlsotherrecords::TCodeNameRecord* FCodeName;
void __fastcall LoadCachePointers(const Uxlsbaserecords::TBaseRecord* R);
virtual void __fastcall FixCachePointers(void);
bool __fastcall GetSelected(void);
void __fastcall SetSelected(const bool Value);
virtual void __fastcall SetPageHeaderFooter(const Uxlsbaserecords::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)
Uxlsbaserecords::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 Xlsmessages::TSheetInfo &SheetInfo, const bool OnlyFormulas) = 0 ;
virtual void __fastcall DeleteRowsAndCols(const Word aRow, const Word aRowCount, const Word aCol, const Word aColCount, const Xlsmessages::TSheetInfo &SheetInfo) = 0 ;
virtual void __fastcall ArrangeInsertRowsAndCols(const int InsRowPos, const int InsRowCount, const int InsColPos, const int InsColCount, const Xlsmessages::TSheetInfo &SheetInfo) = 0 ;
virtual void __fastcall ArrangeCopySheet(const Xlsmessages::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 Uxlsworkbookglobals::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 Uflxmessages::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(int &row, int &col);
void __fastcall GetSplitWindow(int &xOffset, int &yOffset);
void __fastcall SplitWindow(const int xOffset, const int yOffset);
__property WideString CodeName = {read=GetCodeName, write=SetCodeName};
virtual __int64 __fastcall TotalSize(void);
virtual __int64 __fastcall TotalRangeSize(const int SheetIndex, const Uflxmessages::TXlsCellRange &CellRange);
virtual void __fastcall RestoreObjectCoords(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:
Uxlschart::TChartRecordList* FChartRecords;
void __fastcall LoadSubChart(const Classes::TStream* DataStream, const Uxlssst::TSST* SST, const int Level);
protected:
virtual void __fastcall SetPageHeaderFooter(const Uxlsbaserecords::TPageHeaderFooterRecord* P, const WideString s);
virtual void __fastcall AddZoomRecord(void);
virtual void __fastcall FixCachePointers(void);
public:
Uxlsbaserecords::TBaseRecord* RemainingData;
__fastcall virtual TFlxChart(const Uxlsworkbookglobals::TWorkbookGlobals* aWorkbookGlobals);
__fastcall virtual ~TFlxChart(void);
virtual TSheet* __fastcall DoCopyTo(void);
virtual __int64 __fastcall TotalSize(void);
virtual __int64 __fastcall TotalRangeSize(const int SheetIndex, const Uflxmessages::TXlsCellRange &CellRange);
virtual void __fastcall LoadFromStream(const Classes::TStream* DataStream, const Uxlsotherrecords::TBOFRecord* First, const Uxlssst::TSST* SST);
virtual void __fastcall SaveToStream(const Classes::TStream* DataStream, const bool NeedsRecalc);
virtual void __fastcall SaveRangeToStream(const Classes::TStream* DataStream, const int SheetIndex, const Uflxmessages::TXlsCellRange &CellRange, const bool NeedsRecalc);
virtual void __fastcall Clear(void);
void __fastcall ArrangeCopyRowsAndCols(const int RowOffset, const int ColOffset);
virtual void __fastcall ArrangeCopySheet(const Xlsmessages::TSheetInfo &SheetInfo);
virtual void __fastcall ArrangeInsertRowsAndCols(const int InsRowPos, const int InsRowCount, const int InsColPos, const int InsColCount, const Xlsmessages::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 Xlsmessages::TSheetInfo &SheetInfo, const bool OnlyFormulas);
virtual void __fastcall DeleteRowsAndCols(const Word aRow, const Word aRowCount, const Word aCol, const Word aColCount, const Xlsmessages::TSheetInfo &SheetInfo);
};
class DELPHICLASS TSheetRecordList;
class PASCALIMPLEMENTATION TSheetRecordList : public Uxlsbaserecordlists::TBaseRecordList
{
typedef Uxlsbaserecordlists::TBaseRecordList inherited;
public:
#pragma option push -w-inl
/* TObjectList.Create */ inline __fastcall TSheetRecordList(void)/* overload */ : Uxlsbaserecordlists::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 Uxlsbaselist::TBaseList
{
typedef Uxlsbaselist::TBaseList inherited;
public:
TFlxChart* operator[](int index) { return Items[index]; }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?