📄 tmsuxlscolinfo.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2005 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'Tmsuxlscolinfo.pas' rev: 10.00
#ifndef TmsuxlscolinfoHPP
#define TmsuxlscolinfoHPP
#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 <Tmsuxlsbaselist.hpp> // Pascal unit
#include <Tmsxlsmessages.hpp> // Pascal unit
#include <Tmsuflxmessages.hpp> // Pascal unit
#include <Tmsuxlsotherrecords.hpp> // Pascal unit
#include <Tmsuole2impl.hpp> // Pascal unit
#include <Contnrs.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Tmsuxlscolinfo
{
//-- type declarations -------------------------------------------------------
#pragma pack(push,1)
struct TColInfoDat
{
public:
Word FirstColumn;
Word LastColumn;
Word Width;
Word XF;
Word Options;
Word Reserved;
} ;
#pragma pack(pop)
typedef TColInfoDat *PColInfoDat;
class DELPHICLASS TColInfo;
class PASCALIMPLEMENTATION TColInfo : public System::TObject
{
typedef System::TObject inherited;
public:
Word Column;
Word Width;
Word XF;
Word Options;
__fastcall TColInfo(const Word aColumn, const Word aWidth, const Word aXF, const Word aOptions);
bool __fastcall IsEqual(const TColInfo* aColInfo);
void __fastcall SetColOutlineLevel(int Level);
int __fastcall GetColOutlineLevel(void);
public:
#pragma option push -w-inl
/* TObject.Destroy */ inline __fastcall virtual ~TColInfo(void) { }
#pragma option pop
};
class DELPHICLASS TColInfoRecord;
class PASCALIMPLEMENTATION TColInfoRecord : public Tmsuxlsbaserecords::TBaseRecord
{
typedef Tmsuxlsbaserecords::TBaseRecord inherited;
public:
TColInfoDat __fastcall D();
public:
#pragma option push -w-inl
/* TBaseRecord.Create */ inline __fastcall virtual TColInfoRecord(const Word aId, const Tmsxlsmessages::PArrayOfByte aData, const int aDataSize) : Tmsuxlsbaserecords::TBaseRecord(aId, aData, aDataSize) { }
#pragma option pop
#pragma option push -w-inl
/* TBaseRecord.Destroy */ inline __fastcall virtual ~TColInfoRecord(void) { }
#pragma option pop
};
class DELPHICLASS TColInfoList;
class PASCALIMPLEMENTATION TColInfoList : public Tmsuxlsbaselist::TBaseList
{
typedef Tmsuxlsbaselist::TBaseList inherited;
public:
TColInfo* operator[](int index) { return Items[index]; }
private:
TColInfo* __fastcall GetItems(int index);
void __fastcall SetItems(int index, const TColInfo* Value);
public:
__property TColInfo* Items[int index] = {read=GetItems, write=SetItems/*, default*/};
HIDESBASE int __fastcall Add(TColInfo* aRecord);
HIDESBASE void __fastcall Insert(int Index, TColInfo* aRecord);
private:
bool Sorted;
public:
bool __fastcall Find(const int aItem, int &Index);
HIDESBASE void __fastcall Sort(void);
private:
void __fastcall SaveOneRecord(const int i, const int k, const Tmsuole2impl::TOle2File* DataStream);
void __fastcall SaveToStreamExt(const Tmsuole2impl::TOle2File* DataStream, const int FirstRecord, const int RecordCount);
void __fastcall CalcIncludedRangeRecords(const Tmsuflxmessages::TXlsCellRange &CellRange, int &FirstRecord, int &RecordCount);
__int64 __fastcall TotalSizeExt(const int FirstRecord, const int RecordCount);
public:
void __fastcall CopyFrom(const TColInfoList* aColInfoList);
void __fastcall AddRecord(const TColInfoRecord* R);
void __fastcall SaveToStream(const Tmsuole2impl::TOle2File* DataStream);
void __fastcall SaveRangeToStream(const Tmsuole2impl::TOle2File* DataStream, const Tmsuflxmessages::TXlsCellRange &CellRange);
__int64 __fastcall TotalSize(void);
__int64 __fastcall TotalRangeSize(const Tmsuflxmessages::TXlsCellRange &CellRange);
void __fastcall ArrangeInsertCols(const int DestCol, const int aColCount, const Tmsxlsmessages::TSheetInfo &SheetInfo);
void __fastcall CopyCols(const int FirstCol, const int LastCol, const int DestCol, const int aColCount, const Tmsxlsmessages::TSheetInfo &SheetInfo);
void __fastcall CalcGuts(const Tmsuxlsotherrecords::TGutsRecord* Guts);
public:
#pragma option push -w-inl
/* TObjectList.Create */ inline __fastcall TColInfoList(void)/* overload */ : Tmsuxlsbaselist::TBaseList() { }
#pragma option pop
public:
#pragma option push -w-inl
/* TList.Destroy */ inline __fastcall virtual ~TColInfoList(void) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Tmsuxlscolinfo */
using namespace Tmsuxlscolinfo;
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // Tmsuxlscolinfo
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -