从一个Word文档实例入手,分析Word文档的组成、VBA中对象的应用区间以及Delphi对Word的支持,并设计一种Word文档中的图片信息向SQL Server数据库进行转换的实现方法,通过这种方法可以借助于程序实现自动阅读Word中的信息,将Word文档中的图片信息提取出来存于相应的数据库文件中。验证表明,在办公自动化过程中,用自动转换方法来处理一些包含图片信息的Word文档向数据库的转换是行之有效的方法,可以实现快速、高效的信息转换,极大地提高工作效率。
This article starts with a Word file example and analyzes the issues about the Word file components,application interval of objects in VBA,Delphi supporting Word,designs a method of conversion between picture information in Word files and SQL server database.By this way information in Word files can be read automatically using a program,and picture information in Word files can be extracted and saved in relative database files.Testing results show automatic transformation method converting Word files with picture information to database become effective in OA process,implementing fast and high efficiency information conversion and improving efficiency.