摘要
以VB创建Word格式化文档为目的,分析了VB中“Application”对象模型和“Document”子对象的结构.详细介绍了在VB中创建Word文档,以及向文档中添加文字、表格、页面设置及输出文档等步骤方法,从而实现了自动组卷系统中输出Word格式的试卷,满足了不需排版直接供印刷使用的高要求.本方法也可用于其它支持ActiveX的开发平台中.
In order to set up word format document by using VB,this paper analyzes structure of application objectmodel and "document" sub - object attribute, and particularly introduces the steps, method of setting up word document,appending characters,table, page setup as well as documents output, thereby it can realize output word format document in automative group test paper without precise type - setting. Tnis method can be used in other open out fiat roof which holds out ActiveX.
出处
《兰州工业高等专科学校学报》
2006年第3期16-19,共4页
Journal of Lanzhou Higher Polytechnical College