资源简介
包括创建,读写,保存excel,供大家参考
代码片段和文件信息
// Machine generated IDispatch wrapper class(es) created with ClassWizard
#include “stdafx.h“
#include “excel.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// Adjustments properties
/////////////////////////////////////////////////////////////////////////////
// Adjustments operations
LPDISPATCH Adjustments::GetApplication()
{
LPDISPATCH result;
InvokeHelper(0x60020000 DISPATCH_PROPERTYGET VT_DISPATCH (void*)&result NULL);
return result;
}
long Adjustments::GetCreator()
{
long result;
InvokeHelper(0x60020001 DISPATCH_PROPERTYGET VT_I4 (void*)&result NULL);
return result;
}
LPDISPATCH Adjustments::GetParent()
{
LPDISPATCH result;
InvokeHelper(0x1 DISPATCH_PROPERTYGET VT_DISPATCH (void*)&result NULL);
return result;
}
long Adjustments::GetCount()
{
long result;
InvokeHelper(0x2 DISPATCH_PROPERTYGET VT_I4 (void*)&result NULL);
return result;
}
float Adjustments::GetItem(long Index)
{
float result;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x0 DISPATCH_PROPERTYGET VT_R4 (void*)&result parms
Index);
return result;
}
void Adjustments::SetItem(long Index float newValue)
{
static BYTE parms[] =
VTS_I4 VTS_R4;
InvokeHelper(0x0 DISPATCH_PROPERTYPUT VT_EMPTY NULL parms
Index newValue);
}
/////////////////////////////////////////////////////////////////////////////
// CalloutFormat properties
/////////////////////////////////////////////////////////////////////////////
// CalloutFormat operations
LPDISPATCH CalloutFormat::GetApplication()
{
LPDISPATCH result;
InvokeHelper(0x60020000 DISPATCH_PROPERTYGET VT_DISPATCH (void*)&result NULL);
return result;
}
long CalloutFormat::GetCreator()
{
long result;
InvokeHelper(0x60020001 DISPATCH_PROPERTYGET VT_I4 (void*)&result NULL);
return result;
}
LPDISPATCH CalloutFormat::GetParent()
{
LPDISPATCH result;
InvokeHelper(0x1 DISPATCH_PROPERTYGET VT_DISPATCH (void*)&result NULL);
return result;
}
void CalloutFormat::AutomaticLength()
{
InvokeHelper(0xa DISPATCH_METHOD VT_EMPTY NULL NULL);
}
void CalloutFormat::CustomDrop(float Drop)
{
static BYTE parms[] =
VTS_R4;
InvokeHelper(0xb DISPATCH_METHOD VT_EMPTY NULL parms
Drop);
}
void CalloutFormat::CustomLength(float Length)
{
static BYTE parms[] =
VTS_R4;
InvokeHelper(0xc DISPATCH_METHOD VT_EMPTY NULL parms
Length);
}
void CalloutFormat::PresetDrop(long DropType)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0xd DISPATCH_METHOD VT_EMPTY NULL parms
DropType);
}
long CalloutFormat::GetAccent()
{
long result;
InvokeHelper(0x64 DISPATCH_PROPERTYGET VT_I4 (void*)&result NULL);
return result;
}
void CalloutFormat::SetAccent(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1582929 2010-08-27 14:53 ExcelOperate\excel.cpp
文件 468130 2010-08-27 14:53 ExcelOperate\excel.h
文件 35904 2010-08-30 08:36 ExcelOperate\ExcelOperate.aps
文件 1221 2010-09-03 09:34 ExcelOperate\ExcelOperate.clw
文件 2255 2010-08-27 14:57 ExcelOperate\ExcelOperate.cpp
文件 4390 2010-08-27 15:06 ExcelOperate\ExcelOperate.dsp
文件 549 2010-08-27 14:34 ExcelOperate\ExcelOperate.dsw
文件 1390 2010-08-27 14:34 ExcelOperate\ExcelOperate.h
文件 1131520 2010-09-03 09:35 ExcelOperate\ExcelOperate.ncb
文件 54784 2010-09-03 09:35 ExcelOperate\ExcelOperate.opt
文件 258 2010-09-03 09:22 ExcelOperate\ExcelOperate.plg
文件 5338 2010-08-30 08:36 ExcelOperate\ExcelOperate.rc
文件 16375 2010-09-03 08:54 ExcelOperate\ExcelOperateDlg.cpp
文件 1495 2010-08-27 15:13 ExcelOperate\ExcelOperateDlg.h
文件 3687 2010-08-27 14:34 ExcelOperate\ReadMe.txt
文件 1078 2010-08-27 14:34 ExcelOperate\res\ExcelOperate.ico
文件 404 2010-08-27 14:34 ExcelOperate\res\ExcelOperate.rc2
文件 782 2010-08-27 15:13 ExcelOperate\resource.h
文件 214 2010-08-27 14:34 ExcelOperate\StdAfx.cpp
文件 1054 2010-08-27 14:34 ExcelOperate\StdAfx.h
目录 0 2010-08-27 14:34 ExcelOperate\res
目录 0 2010-09-03 15:36 ExcelOperate
----------- --------- ---------- ----- ----
3313757 22
- 上一篇:用C语言编写的《订餐管理系统》
- 下一篇:堆排序算法严蔚敏数据结构
评论
共有 条评论