文件名称:ControlWord
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:78.65kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
VC通过模板来控制Word表格
//这里没有用word里提供的table对象,而是用了selection对象,用它控制比table简单
//而且用模板可以很容易地设置表格中的格式,若通过table对象则设置字体、对齐方式是很难控制
//这里主要是通过移动word中的输入点位置来定位要写的位置。然后再写入内容到单元格.
//selection对象主要调用MoveDown来进行定位,MoveDowm是让word响应键盘上的上下箭头事件。
//其中参数4表示移动一个单元字,而5表示移动一个单元行,其MoveUp,MoveLeft,MoveRight也一样
//具体可见MSDN中的ITextSelection::MoveDown Method
-VC through the template to control Word forms / / There is no word used in providing the right table like, but use the object selection, used it to control than simple table / / and use templates can be easily set up tables in the format If the object through the table is set fonts, Alignment will be very difficult to control / / here mainly through word of mobile input location positioning write to the location. Then write the contents of the cells. / / Selection main targets MoveDown to call for positioning MoveDowm is word on the keyboard in response to the next arrow incident. / / Parameter four said a mobile unit, whereas in five said a mobile unit OK, MoveUp. MoveLeft. MoveRight is the same / / visible in the MSDN ITextSelection : : MoveDown Method
//这里没有用word里提供的table对象,而是用了selection对象,用它控制比table简单
//而且用模板可以很容易地设置表格中的格式,若通过table对象则设置字体、对齐方式是很难控制
//这里主要是通过移动word中的输入点位置来定位要写的位置。然后再写入内容到单元格.
//selection对象主要调用MoveDown来进行定位,MoveDowm是让word响应键盘上的上下箭头事件。
//其中参数4表示移动一个单元字,而5表示移动一个单元行,其MoveUp,MoveLeft,MoveRight也一样
//具体可见MSDN中的ITextSelection::MoveDown Method
-VC through the template to control Word forms / / There is no word used in providing the right table like, but use the object selection, used it to control than simple table / / and use templates can be easily set up tables in the format If the object through the table is set fonts, Alignment will be very difficult to control / / here mainly through word of mobile input location positioning write to the location. Then write the contents of the cells. / / Selection main targets MoveDown to call for positioning MoveDowm is word on the keyboard in response to the next arrow incident. / / Parameter four said a mobile unit, whereas in five said a mobile unit OK, MoveUp. MoveLeft. MoveRight is the same / / visible in the MSDN ITextSelection : : MoveDown Method
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Release/ControlWord.exe
Release/表格模板.doc
Release
res/ControlWord.rc2
res/ControlWord.ico
res
ControlWord.aps
ControlWord.clw
ControlWord.cpp
ControlWord.dsp
ControlWord.dsw
ControlWord.h
ControlWord.ncb
ControlWord.opt
ControlWord.plg
ControlWord.rc
ControlWordDlg.cpp
ControlWordDlg.h
msword9.cpp
msword9.h
ReadMe.txt
Resource.h
StdAfx.cpp
StdAfx.h
表格模板.doc
www.dssz.com.txt
Release/表格模板.doc
Release
res/ControlWord.rc2
res/ControlWord.ico
res
ControlWord.aps
ControlWord.clw
ControlWord.cpp
ControlWord.dsp
ControlWord.dsw
ControlWord.h
ControlWord.ncb
ControlWord.opt
ControlWord.plg
ControlWord.rc
ControlWordDlg.cpp
ControlWordDlg.h
msword9.cpp
msword9.h
ReadMe.txt
Resource.h
StdAfx.cpp
StdAfx.h
表格模板.doc
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.