📄 owc_tlb.pas
字号:
PivotFieldSets = interface;
PivotFieldSetsDisp = dispinterface;
PivotFieldSet = interface;
PivotFieldSetDisp = dispinterface;
PivotFields = interface;
PivotFieldsDisp = dispinterface;
PivotField = interface;
PivotFieldDisp = dispinterface;
PivotFont = interface;
PivotFontDisp = dispinterface;
PivotTotal = interface;
PivotTotalDisp = dispinterface;
PivotMembers = interface;
PivotMembersDisp = dispinterface;
PivotMember = interface;
PivotMemberDisp = dispinterface;
PivotAxis = interface;
PivotAxisDisp = dispinterface;
PivotGroupAxis = interface;
PivotGroupAxisDisp = dispinterface;
PivotLabel = interface;
PivotLabelDisp = dispinterface;
PivotDataAxis = interface;
PivotDataAxisDisp = dispinterface;
PivotTotals = interface;
PivotTotalsDisp = dispinterface;
PivotFilterAxis = interface;
PivotFilterAxisDisp = dispinterface;
PivotData = interface;
PivotDataDisp = dispinterface;
PivotCell = interface;
PivotCellDisp = dispinterface;
PivotAggregates = interface;
PivotAggregatesDisp = dispinterface;
PivotAggregate = interface;
PivotAggregateDisp = dispinterface;
PivotDetailCell = interface;
PivotDetailCellDisp = dispinterface;
PivotDetailRange = interface;
PivotDetailRangeDisp = dispinterface;
PivotRange = interface;
PivotRangeDisp = dispinterface;
DelayedDrop = interface;
DelayedDropDisp = dispinterface;
IPivotControl = interface;
IPivotControlDisp = dispinterface;
IPivotControlEvents = dispinterface;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
// *********************************************************************//
ChartSpace = WCWebChart;
Spreadsheet = IWebCalc;
FieldList = IDPDataView;
DARef = IDARef;
DataSourceControl = IDataSourceControl;
RecordNavigationControl = INavigationControl;
ExpandControl = IExpandCollapseControl;
PivotTable = IPivotControl;
// *********************************************************************//
// Declaration of structures, unions and aliases.
// *********************************************************************//
POleVariant1 = ^OleVariant; {*}
PInteger1 = ^Integer; {*}
PWideString1 = ^WideString; {*}
PIUnknown1 = ^IUnknown; {*}
VTBIT = LongWord;
// *********************************************************************//
// DispIntf: IWebChartEvents
// Flags: (4096) Dispatchable
// GUID: {1A16DFA0-990D-11D1-AB48-00C04FAC684D}
// *********************************************************************//
IWebChartEvents = dispinterface
['{1A16DFA0-990D-11D1-AB48-00C04FAC684D}']
procedure DataSetChange; dispid 5101;
procedure DblClick(const ChartEventInfo: WCChartEventInfo); dispid 5102;
procedure Click(const ChartEventInfo: WCChartEventInfo); dispid 5103;
procedure KeyDown(const ChartEventInfo: WCChartEventInfo); dispid 5104;
procedure KeyPress(const ChartEventInfo: WCChartEventInfo); dispid 5105;
procedure KeyUp(const ChartEventInfo: WCChartEventInfo); dispid 5106;
procedure MouseDown(const ChartEventInfo: WCChartEventInfo); dispid 5108;
procedure MouseMove(const ChartEventInfo: WCChartEventInfo); dispid 5109;
procedure MouseUp(const ChartEventInfo: WCChartEventInfo); dispid 5110;
procedure SelectionChange; dispid 5111;
end;
// *********************************************************************//
// Interface: IOMEvent
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {78711640-A262-11D1-8057-00600893B445}
// *********************************************************************//
IOMEvent = interface(IDispatch)
['{78711640-A262-11D1-8057-00600893B445}']
function Get_X: Integer; safecall;
function Get_Y: Integer; safecall;
function Get_KeyCode: Integer; safecall;
function Get_KeyChar: WideString; safecall;
function Get_Button: Integer; safecall;
function Get_AltKey: WordBool; safecall;
function Get_CtrlKey: WordBool; safecall;
function Get_ShiftKey: WordBool; safecall;
property X: Integer read Get_X;
property Y: Integer read Get_Y;
property KeyCode: Integer read Get_KeyCode;
property KeyChar: WideString read Get_KeyChar;
property Button: Integer read Get_Button;
property AltKey: WordBool read Get_AltKey;
property CtrlKey: WordBool read Get_CtrlKey;
property ShiftKey: WordBool read Get_ShiftKey;
end;
// *********************************************************************//
// DispIntf: IOMEventDisp
// Flags: (4432) Hidden Dual OleAutomation Dispatchable
// GUID: {78711640-A262-11D1-8057-00600893B445}
// *********************************************************************//
IOMEventDisp = dispinterface
['{78711640-A262-11D1-8057-00600893B445}']
property X: Integer readonly dispid 1610743808;
property Y: Integer readonly dispid 1610743809;
property KeyCode: Integer readonly dispid 1610743810;
property KeyChar: WideString readonly dispid 1610743811;
property Button: Integer readonly dispid 1610743812;
property AltKey: WordBool readonly dispid 1610743813;
property CtrlKey: WordBool readonly dispid 1610743814;
property ShiftKey: WordBool readonly dispid 1610743815;
end;
// *********************************************************************//
// Interface: WCChartEventInfo
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {6240F530-A4E7-11D1-AB52-00C04FAC684D}
// *********************************************************************//
WCChartEventInfo = interface(IOMEvent)
['{6240F530-A4E7-11D1-AB52-00C04FAC684D}']
end;
// *********************************************************************//
// DispIntf: WCChartEventInfoDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {6240F530-A4E7-11D1-AB52-00C04FAC684D}
// *********************************************************************//
WCChartEventInfoDisp = dispinterface
['{6240F530-A4E7-11D1-AB52-00C04FAC684D}']
property X: Integer readonly dispid 1610743808;
property Y: Integer readonly dispid 1610743809;
property KeyCode: Integer readonly dispid 1610743810;
property KeyChar: WideString readonly dispid 1610743811;
property Button: Integer readonly dispid 1610743812;
property AltKey: WordBool readonly dispid 1610743813;
property CtrlKey: WordBool readonly dispid 1610743814;
property ShiftKey: WordBool readonly dispid 1610743815;
end;
// *********************************************************************//
// Interface: WCWebChart
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {204C1F73-1C0C-11D1-9923-00C04FB937E1}
// *********************************************************************//
WCWebChart = interface(IDispatch)
['{204C1F73-1C0C-11D1-9923-00C04FB937E1}']
procedure Set_ChartLayout(pChartChartLayout: ChartChartLayoutEnum); safecall;
function Get_ChartLayout: ChartChartLayoutEnum; safecall;
procedure Set_ChartWrapCount(plcount: Integer); safecall;
function Get_ChartWrapCount: Integer; safecall;
procedure Set_EnableEvents(pfEnableEvents: WordBool); safecall;
function Get_EnableEvents: WordBool; safecall;
procedure Set_HasChartSpaceLegend(pfHasChartSpaceLegend: WordBool); safecall;
function Get_HasChartSpaceLegend: WordBool; safecall;
function Get_MajorVersion: Integer; safecall;
function Get_MinorVersion: WideString; safecall;
function Get_BuildNumber: WideString; safecall;
procedure Set_ScreenUpdating(pfUpdate: WordBool); safecall;
function Get_ScreenUpdating: WordBool; safecall;
function Get_Border: Border; safecall;
function Get_Charts: WCCharts; safecall;
function Get_ChartDataSources: WCDataSources; safecall;
procedure Set_DataSource(const ppidatasource: DataSource); safecall;
procedure _Set_DataSource(const ppidatasource: DataSource); safecall;
function Get_DataSource: DataSource; safecall;
procedure Set_DataMember(const pdatamember: DataMember); safecall;
function Get_DataMember: DataMember; safecall;
function Get_DataSourceType: ChartDataSourceTypeEnum; safecall;
procedure Set_DataSourceType(pocpDST: ChartDataSourceTypeEnum); safecall;
procedure Set_HasChartSpaceTitle(pfHasChartSpaceTitle: WordBool); safecall;
function Get_HasChartSpaceTitle: WordBool; safecall;
function Get_Interior: Interior; safecall;
function Get_ChartSpaceLegend: WCLegend; safecall;
function Get_Selection: IDispatch; safecall;
function Get_SelectionType: ChartSelectionsEnum; safecall;
procedure Set_HasSelectionMarks(fMarks: WordBool); safecall;
function Get_HasSelectionMarks: WordBool; safecall;
procedure Set_HasPropertyToolbox(fMenu: WordBool); safecall;
function Get_HasPropertyToolbox: WordBool; safecall;
function Get_ChartSpaceTitle: WCTitle; safecall;
function Get_Version: WideString; safecall;
function Get_XMLData: WideString; safecall;
procedure Set_XMLData(const pbstrHTML: WideString); safecall;
function Get_Constants: IDispatch; safecall;
function Get_CanUndo: WordBool; safecall;
procedure BuildLitChart; safecall;
procedure Load(const FileName: WideString); safecall;
procedure Clear; safecall;
procedure ShowHelp(iTopic: Integer); safecall;
procedure ExportPicture(const FileName: WideString; const FilterName: WideString;
width: Integer; height: Integer); safecall;
procedure Refresh; safecall;
procedure Select; safecall;
procedure BeginUndo; safecall;
procedure EndUndo; safecall;
procedure Undo; safecall;
function RangeFromPoint(X: SYSINT; Y: SYSINT): IDispatch; safecall;
procedure Set_Enabled(fEnabled: WordBool); safecall;
function Get_Enabled: WordBool; safecall;
function Get_RevisionNumber: WideString; safecall;
property ChartLayout: ChartChartLayoutEnum read Get_ChartLayout write Set_ChartLayout;
property ChartWrapCount: Integer read Get_ChartWrapCount write Set_ChartWrapCount;
property EnableEvents: WordBool read Get_EnableEvents write Set_EnableEvents;
property HasChartSpaceLegend: WordBool read Get_HasChartSpaceLegend write Set_HasChartSpaceLegend;
property MajorVersion: Integer read Get_MajorVersion;
property MinorVersion: WideString read Get_MinorVersion;
property BuildNumber: WideString read Get_BuildNumber;
property ScreenUpdating: WordBool read Get_ScreenUpdating write Set_ScreenUpdating;
property Border: Border read Get_Border;
property Charts: WCCharts read Get_Charts;
property ChartDataSources: WCDataSources read Get_ChartDataSources;
property DataSource: DataSource read Get_DataSource write _Set_DataSource;
property DataMember: DataMember read Get_DataMember write Set_DataMember;
property DataSourceType: ChartDataSourceTypeEnum read Get_DataSourceType write Set_DataSourceType;
property HasChartSpaceTitle: WordBool read Get_HasChartSpaceTitle write Set_HasChartSpaceTitle;
property Interior: Interior read Get_Interior;
property ChartSpaceLegend: WCLegend read Get_ChartSpaceLegend;
property Selection: IDispatch read Get_Selection;
property SelectionType: ChartSelectionsEnum read Get_SelectionType;
property HasSelectionMarks: WordBool write Set_HasSelectionMarks;
property HasPropertyToolbox: WordBool write Set_HasPropertyToolbox;
property ChartSpaceTitle: WCTitle read Get_ChartSpaceTitle;
property Version: WideString read Get_Version;
property XMLData: WideString read Get_XMLData write Set_XMLData;
property Constants: IDispatch read Get_Constants;
property CanUndo: WordBool read Get_CanUndo;
property Enabled: WordBool write Set_Enabled;
property RevisionNumber: WideString read Get_RevisionNumber;
end;
// *********************************************************************//
// DispIntf: WCWebChartDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {204C1F73-1C0C-11D1-9923-00C04FB937E1}
// *********************************************************************//
WCWebChartDisp = dispinterface
['{204C1F73-1C0C-11D1-9923-00C04FB937E1}']
property ChartLayout: ChartChartLayoutEnum dispid 5000;
property ChartWrapCount: Integer dispid 5001;
property EnableEvents: WordBool dispid 5016;
property HasChartSpaceLegend: WordBool dispid 5002;
property MajorVersion: Integer readonly dispid 1610743816;
property MinorVersion: WideString readonly dispid 1610743817;
property BuildNumber: WideString readonly dispid 1610743818;
property ScreenUpdating: WordBool dispid 5003;
property Border: Border readonly dispid 5004;
property Charts: WCCharts readonly dispid 5005;
property ChartDataSources: WCDataSources readonly dispid 5006;
property DataSource: DataSource dispid 5020;
property DataMember: DataMember dispid 5021;
property DataSourceType: ChartDataSourceTypeEnum dispid 5023;
property HasChartSpaceTitle: WordBool dispid 5017;
property Interior: Interior readonly dispid 5007;
property ChartSpaceLegend: WCLegend readonly dispid 5008;
property Selection: IDispatch readonly dispid 1610743835;
property SelectionType: ChartSelectionsEnum readonly dispid 1610743836;
property HasSelectionMarks: WordBool writeonly dispid 1610743837;
property HasPropertyToolbox: WordBool writeonly dispid 1610743839;
property ChartSpaceTitle: WCTitle readonly dispid 5009;
property Version: WideString readonly dispid 5010;
property XMLData: WideString dispid 5022;
property Constants: IDispatch readonly dispid 1610743845;
property CanUndo: WordBool readonly dispid 1610743846;
procedure BuildLitChart; dispid 5019;
procedure Load(const FileName: WideString); dispid 5018;
procedure Clear; dispid 5012;
procedure ShowHelp(iTopic: Integer); dispid 1610743850;
procedure ExportPicture(const FileName: WideString; const FilterName: WideString;
width: Integer; height: Integer); dispid 1610743851;
procedure Refresh; dispid 5014;
procedure Select; dispid 1610743853;
procedure BeginUndo; dispid 1610743854;
procedure EndUndo; dispid 1610743855;
procedure Undo; dispid 1610743856;
function RangeFromPoint(X: SYSINT; Y: SYSINT): IDispatch; dispid 5025;
property Enabled: WordBool writeonly dispid 1610743858;
property RevisionNumber: WideString readonly dispid 1610743860;
end;
// *********************************************************************//
// Interface: Border
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {0FB45160-2DE7-11D1-B1CE-00A0C9056619}
// *********************************************************************//
Border = interface(IDispatch)
['{0FB45160-2DE7-11D1-B1CE-00A0C9056619}']
function Get_Color: OleVariant; safecall;
procedure Set_Color(Color: POleVariant1); safecall;
function Get_LineStyle: OleVariant; safecall;
procedure Set_LineStyle(LineStyle: LineStyleEnum); safecall;
function Get_Parent: IDispatch; safecall;
function Get_Weight: OleVariant; safecall;
procedure Set_Weight(LineWeight: LineWeightEnum); safecall;
property Color: OleVariant read Get_Color;
property LineStyle: OleVariant read Get_LineStyle;
property Parent: IDispatch read Get_Parent;
property Weight: OleVariant read Get_Weight;
end;
// *********************************************************************//
// DispIntf: BorderDisp
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {0FB45160-2DE7-11D1-B1CE-00A0C9056619}
// *********************************************************************//
BorderDisp = dispinterface
['{0FB45160-2DE7-11D1-B1CE-00A0C9056619}']
property Color: OleVariant readonly dispid 1610743808;
property LineStyle: OleVariant readonly dispid 1610743810;
property Parent: IDispatch readonly dispid 1610743812;
property Weight: OleVariant readonly dispid 1610743813;
end;
// *********************************************************************//
// Interface: WCCharts
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {788D6E01-2FE9-11D1-9939-00C04FB937E1}
// *********************************************************************//
WCCharts = interface(IDispatch)
['{788D6E01-2FE9-11D1-9939-00C04FB937E1}']
function Get_Count: Integer; safecall;
function Get_Par
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -